Skip to content

Commit

Permalink
test/osd/osd-fast-mark-down.sh: remove unnecessary teardown() calls
Browse files Browse the repository at this point in the history
main() does this for us.

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Nov 21, 2016
1 parent cb0fd95 commit 60bb32a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/osd/osd-fast-mark-down.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 60bb32a

Please sign in to comment.