]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: potential race in mirror disconnect test 21733/head
authorMykola Golub <mgolub@suse.com>
Sun, 29 Apr 2018 17:07:38 +0000 (20:07 +0300)
committerMykola Golub <mgolub@suse.com>
Mon, 30 Apr 2018 06:44:12 +0000 (09:44 +0300)
(due to a typo in get_image_id command arg)

Fixes: http://tracker.ceph.com/issues/23938
Signed-off-by: Mykola Golub <mgolub@suse.com>
qa/workunits/rbd/rbd_mirror.sh

index ee8044ef239a2709948c66224e3cec87f689f7cb..1d39bae20803cac64041dd0c9688b9977d339a8d 100755 (executable)
@@ -401,7 +401,7 @@ testlog " - rbd_mirroring_resync_after_disconnect config option"
 set_image_meta ${CLUSTER2} ${POOL} ${image} \
               conf_rbd_mirroring_resync_after_disconnect true
 wait_for_replay_complete ${CLUSTER1} ${CLUSTER2} ${POOL} ${image}
-image_id=$(get_image_id ${CLUSTER1} ${pool} ${image})
+image_id=$(get_image_id ${CLUSTER1} ${POOL} ${image})
 disconnect_image ${CLUSTER2} ${POOL} ${image}
 wait_for_image_present ${CLUSTER1} ${POOL} ${image} 'deleted' ${image_id}
 wait_for_image_present ${CLUSTER1} ${POOL} ${image} 'present'