]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/ceph-helpers: do not error out if is_clean
authorKefu Chai <kchai@redhat.com>
Wed, 12 Apr 2017 09:31:52 +0000 (17:31 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 12 Apr 2017 09:32:44 +0000 (17:32 +0800)
commit6cb4503a40ae4ebee5690fda024cae8d1a506bce
tree3f005921c33901c320bfac57c445a16e636c7e60
parent0196e154ed2e164cf55b0d7ed9f9cdd1f4f50100
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 <kchai@redhat.com>
qa/workunits/ceph-helpers.sh