]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: ensure replay has started before checking position 9674/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 13 Jun 2016 04:19:37 +0000 (00:19 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 13 Jun 2016 16:42:42 +0000 (12:42 -0400)
Fixes: http://tracker.ceph.com/issues/16248
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6a68b68e0d2741e6694fd28d31766808ba881815)

qa/workunits/rbd/rbd_mirror.sh

index cfe99491626b44cc51a3ece37943a269848970ea..ceb431b1c25ed1237e1f6d7fff8b8100da9ad75d 100755 (executable)
@@ -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