From: Ricardo Dias Date: Wed, 21 Sep 2016 22:08:18 +0000 (+0100) Subject: rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh X-Git-Tag: v10.2.4~61^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8070d6a560044e5b45af7bd6995345ab30489d84;p=ceph.git rbd-mirror: test: Fixed timeout problem in rbd_mirror_stress.sh Signed-off-by: Ricardo Dias (cherry picked from commit 5c737038dd6d44bd76605587486ddf9457bc2d96) --- diff --git a/qa/workunits/rbd/rbd_mirror_stress.sh b/qa/workunits/rbd/rbd_mirror_stress.sh index 0aeaa692fa8..e9ed2ce7c6c 100755 --- a/qa/workunits/rbd/rbd_mirror_stress.sh +++ b/qa/workunits/rbd/rbd_mirror_stress.sh @@ -102,6 +102,8 @@ do snap_name="snap${i}" create_snap ${CLUSTER2} ${POOL} ${image} ${snap_name} + wait_for_image_replay_started ${CLUSTER1} ${POOL} ${image} + wait_for_replay_complete ${CLUSTER1} ${CLUSTER2} ${POOL} ${image} wait_for_snap_present ${CLUSTER1} ${POOL} ${image} ${snap_name} compare_image_snaps ${POOL} ${image} ${snap_name} done