]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: potential race in mirror disconnect test 21869/head
authorMykola Golub <mgolub@suse.com>
Sun, 29 Apr 2018 17:07:38 +0000 (20:07 +0300)
committerPrashant D <pdhange@redhat.com>
Tue, 8 May 2018 02:13:19 +0000 (22:13 -0400)
(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>
(cherry picked from commit 5bc1d4a51a5a3c1e887c3c1054ed17b5f15ce2ed)

qa/workunits/rbd/rbd_mirror.sh

index 3e7f844faeaf948e3bd73d1c15ec4bd1b52a26db..c2308c355af2404b8288d0abda7562ce38dc7dca 100755 (executable)
@@ -400,7 +400,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'