]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: wait for image deleted before checking health 10483/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 28 Jul 2016 11:45:56 +0000 (14:45 +0300)
committerMykola Golub <mgolub@mirantis.com>
Thu, 28 Jul 2016 11:55:42 +0000 (14:55 +0300)
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>
qa/workunits/rbd/rbd_mirror_stress.sh

index bac574f1a541d9df01ebe1ede287d2f0fc8c64bb..0624367937244d2b82303dcc3fc9659d175671fd 100755 (executable)
@@ -156,6 +156,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