From: Mykola Golub Date: Thu, 28 Jul 2016 11:45:56 +0000 (+0300) Subject: qa/workunits/rbd: wait for image deleted before checking health X-Git-Tag: ses5-milestone5~256^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8dbe42d34520d0b44b189ae4d8b96559752a57da;p=ceph.git qa/workunits/rbd: wait for image deleted before checking health 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 --- diff --git a/qa/workunits/rbd/rbd_mirror_stress.sh b/qa/workunits/rbd/rbd_mirror_stress.sh index bac574f1a541..062436793724 100755 --- a/qa/workunits/rbd/rbd_mirror_stress.sh +++ b/qa/workunits/rbd/rbd_mirror_stress.sh @@ -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