From: Jason Dillaman Date: Mon, 13 Jun 2016 04:19:37 +0000 (-0400) Subject: qa/workunits: ensure replay has started before checking position X-Git-Tag: v10.2.2~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9674%2Fhead;p=ceph.git qa/workunits: ensure replay has started before checking position Fixes: http://tracker.ceph.com/issues/16248 Signed-off-by: Jason Dillaman (cherry picked from commit 6a68b68e0d2741e6694fd28d31766808ba881815) --- diff --git a/qa/workunits/rbd/rbd_mirror.sh b/qa/workunits/rbd/rbd_mirror.sh index cfe99491626b..ceb431b1c25e 100755 --- a/qa/workunits/rbd/rbd_mirror.sh +++ b/qa/workunits/rbd/rbd_mirror.sh @@ -813,6 +813,7 @@ set_pool_mirror_mode ${CLUSTER2} ${POOL} 'pool' for i in ${image2} ${image4}; do wait_for_image_present ${CLUSTER1} ${POOL} ${i} 'present' wait_for_snap_present ${CLUSTER1} ${POOL} ${i} 'snap2' + wait_for_image_replay_started ${CLUSTER1} ${POOL} ${i} wait_for_replay_complete ${CLUSTER1} ${CLUSTER2} ${POOL} ${i} compare_images ${POOL} ${i} done