]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls 12101/head
authorKefu Chai <kchai@redhat.com>
Mon, 21 Nov 2016 13:51:56 +0000 (21:51 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 21 Nov 2016 14:24:23 +0000 (22:24 +0800)
main() does this for us.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/osd/osd-fast-mark-down.sh

index 57b9a28c1d198deaec5900ab8d10044fef7dd5d5..0c612546bb274f9b261da4df5eea1f7aa15f4e93 100755 (executable)
@@ -89,7 +89,6 @@ function test_fast_kill() {
          continue
        elif [ $down_osds -gt $i ]; then
          echo Too many \($down_osds\) osds died!
-         teardown $dir 
          return 1
        else
          break
@@ -99,7 +98,6 @@ function test_fast_kill() {
      if [ $down_osds -lt $i ]; then
         echo Killed the OSD, yet it is not marked down
         ceph osd tree
-        teardown $dir 
         return 1
      fi
    done