From: Sage Weil Date: Sat, 9 Mar 2019 00:07:10 +0000 (-0600) Subject: qa/standalone/ceph-helpers: fix test_wait_for_clean X-Git-Tag: v12.2.13~93^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F30298%2Fhead;p=ceph.git qa/standalone/ceph-helpers: fix test_wait_for_clean Signed-off-by: Sage Weil (cherry picked from commit 30fc7f5e972bd41537c92eb135c9763b46dd09d2) Conflicts: qa/standalone/ceph-helpers.sh - mimic does not have separate WAIT_FOR_CLEAN_TIMEOUT --- diff --git a/qa/standalone/ceph-helpers.sh b/qa/standalone/ceph-helpers.sh index 65fd6ddf6ef8..0628a452847e 100755 --- a/qa/standalone/ceph-helpers.sh +++ b/qa/standalone/ceph-helpers.sh @@ -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 }