Skip to content

Commit

Permalink
src/test/osd/safe-to-destroy: adjust test
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
liewegas committed Feb 26, 2021
1 parent 9425eee commit 2e15607
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/osd/safe-to-destroy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 "$@"

0 comments on commit 2e15607

Please sign in to comment.