From: Kefu Chai Date: Mon, 21 Nov 2016 13:51:56 +0000 (+0800) Subject: test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls X-Git-Tag: v11.1.0~223^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12101%2Fhead;p=ceph.git test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls main() does this for us. Signed-off-by: Kefu Chai --- diff --git a/src/test/osd/osd-fast-mark-down.sh b/src/test/osd/osd-fast-mark-down.sh index 57b9a28c1d19..0c612546bb27 100755 --- a/src/test/osd/osd-fast-mark-down.sh +++ b/src/test/osd/osd-fast-mark-down.sh @@ -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