]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: ensure replay has started before checking position 9661/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 04:19:37 +0000 (00:19 -0400)
Fixes: http://tracker.ceph.com/issues/16248
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/rbd_mirror.sh

index a073252f0ed49cc7746ee8ff35a043438ebb24f1..8c2c5873ad22ca845b4047ce6f5e8d0d314d3801 100755 (executable)
@@ -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