From 60bb32a7b084a8ce7624d767c1563c1b4ab9b122 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 21 Nov 2016 21:51:56 +0800 Subject: [PATCH] test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls main() does this for us. Signed-off-by: Kefu Chai --- src/test/osd/osd-fast-mark-down.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/osd/osd-fast-mark-down.sh b/src/test/osd/osd-fast-mark-down.sh index 57b9a28c1d1..0c612546bb2 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 -- 2.39.5