From 6a68b68e0d2741e6694fd28d31766808ba881815 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Mon, 13 Jun 2016 00:19:37 -0400 Subject: [PATCH] qa/workunits: ensure replay has started before checking position Fixes: http://tracker.ceph.com/issues/16248 Signed-off-by: Jason Dillaman --- qa/workunits/rbd/rbd_mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/rbd/rbd_mirror.sh b/qa/workunits/rbd/rbd_mirror.sh index a073252f0ed..8c2c5873ad2 100755 --- a/qa/workunits/rbd/rbd_mirror.sh +++ b/qa/workunits/rbd/rbd_mirror.sh @@ -181,6 +181,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 -- 2.47.3