]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: check status also in pool dir after asok commands
authorMykola Golub <mgolub@mirantis.com>
Mon, 3 Oct 2016 07:10:33 +0000 (10:10 +0300)
committerNathan Cutler <ncutler@suse.com>
Sun, 29 Jan 2017 20:31:45 +0000 (21:31 +0100)
commit1f2d30cbb735d2c7fd3eea6431f1a1e9555d5942
treec953166b0ef28ed1263e71a4222cc911da03e5b7
parent5d0fba44501130165416a57a10490ff8ba292d48
qa/workunits/rbd: check status also in pool dir after asok commands

wait_for_image_replay_stopped returns not when the state is stopped,
but when the state is not replaying. So a race was possible when an
asok command was running when the previos stop command was still in
progress, leading to unexpected results.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 2882f8c01a42ee3cfe22a838b64f21c93cf84d16)

Conflicts:
qa/workunits/rbd/rbd_mirror.sh (tests for not backported features)
qa/workunits/rbd/rbd_mirror.sh