From: Sage Weil Date: Mon, 22 Feb 2021 23:01:35 +0000 (-0500) Subject: src/test/osd/safe-to-destroy: adjust test X-Git-Tag: v17.1.0~2808^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2e156079c8b6cd7c6ab040567545a1d8a5e4ae2b;p=ceph.git src/test/osd/safe-to-destroy: adjust test Signed-off-by: Sage Weil --- diff --git a/src/test/osd/safe-to-destroy.sh b/src/test/osd/safe-to-destroy.sh index 08d966179ee1..08afc8e8d8c2 100755 --- a/src/test/osd/safe-to-destroy.sh +++ b/src/test/osd/safe-to-destroy.sh @@ -82,7 +82,7 @@ function TEST_ok_to_stop() { ceph osd ok-to-stop 1 ceph osd ok-to-stop 2 ceph osd ok-to-stop 3 - expect_failure $dir degraded ceph osd ok-to-stop 0 1 + expect_failure $dir bad_become_inactive ceph osd ok-to-stop 0 1 ceph osd pool set foo min_size 1 sleep 1 @@ -92,8 +92,8 @@ function TEST_ok_to_stop() { ceph osd ok-to-stop 1 2 ceph osd ok-to-stop 2 3 ceph osd ok-to-stop 3 4 - expect_failure $dir degraded ceph osd ok-to-stop 0 1 2 - expect_failure $dir degraded ceph osd ok-to-stop 0 1 2 3 + expect_failure $dir bad_become_inactive ceph osd ok-to-stop 0 1 2 + expect_failure $dir bad_become_inactive ceph osd ok-to-stop 0 1 2 3 } main safe-to-destroy "$@"