From 6cb4503a40ae4ebee5690fda024cae8d1a506bce Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 12 Apr 2017 17:31:52 +0800 Subject: [PATCH] qa/workunits/ceph-helpers: do not error out if is_clean it would be a race otherwise, because we cannot be sure that the cluster pgs are not all clean or not when run_osd() returns, but we can be sure that they are expected to active+clean after a while. that's what wait_for_clean() does. Signed-off-by: Kefu Chai --- qa/workunits/ceph-helpers.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/qa/workunits/ceph-helpers.sh b/qa/workunits/ceph-helpers.sh index c43a369c717b..9863668de755 100755 --- a/qa/workunits/ceph-helpers.sh +++ b/qa/workunits/ceph-helpers.sh @@ -1163,7 +1163,6 @@ function test_is_clean() { run_mon $dir a --osd_pool_default_size=1 || return 1 run_mgr $dir x || return 1 run_osd $dir 0 || return 1 - ! is_clean || return 1 wait_for_clean || return 1 is_clean || return 1 teardown $dir || return 1 -- 2.47.3