]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: wait for image deleted before checking health
authorMykola Golub <mgolub@mirantis.com>
Thu, 28 Jul 2016 11:45:56 +0000 (14:45 +0300)
committerNathan Cutler <ncutler@suse.com>
Sun, 29 Jan 2017 20:31:45 +0000 (21:31 +0100)
When a primiry image is being deleted, the mirrored image might
temporary be reported in error state, before deletion is propagated.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 8dbe42d34520d0b44b189ae4d8b96559752a57da)

qa/workunits/rbd/rbd_mirror_stress.sh

index aabc5dbc20858bbe2a613e83ab4bf2fd888d9d94..4aa71318e129b761350ba9d3645287a2ccad69c2 100755 (executable)
@@ -153,6 +153,7 @@ do
 done
 
 testlog "TEST: image deletions should propagate"
+wait_for_pool_images ${CLUSTER2} ${POOL} 0
 wait_for_pool_healthy ${CLUSTER1} ${POOL} 0
 for i in `seq 1 ${IMAGE_COUNT}`
 do