]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/standalone/ceph-helpers: fix test_wait_for_clean 30298/head
authorSage Weil <sage@redhat.com>
Sat, 9 Mar 2019 00:07:10 +0000 (18:07 -0600)
committerNathan Cutler <ncutler@suse.com>
Wed, 16 Oct 2019 10:01:27 +0000 (12:01 +0200)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 30fc7f5e972bd41537c92eb135c9763b46dd09d2)

Conflicts:
qa/standalone/ceph-helpers.sh
- mimic does not have separate WAIT_FOR_CLEAN_TIMEOUT

qa/standalone/ceph-helpers.sh

index 65fd6ddf6ef8bf0397ba6ebd9b445884d64f7e1b..0628a452847e42dc0c12f76ee8f7f81555f6ca61 100755 (executable)
@@ -1464,12 +1464,12 @@ function test_wait_for_clean() {
     local dir=$1
 
     setup $dir || return 1
-    run_mon $dir a --osd_pool_default_size=1 || return 1
+    run_mon $dir a --osd_pool_default_size=2 || return 1
     run_osd $dir 0 || return 1
     run_mgr $dir x || return 1
     create_rbd_pool || return 1
     ! TIMEOUT=1 wait_for_clean || return 1
-    run_osd $dir 0 || return 1
+    run_osd $dir 1 || return 1
     wait_for_clean || return 1
     teardown $dir || return 1
 }