]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: check status also in pool dir after asok commands 11291/head
authorMykola Golub <mgolub@mirantis.com>
Mon, 3 Oct 2016 07:10:33 +0000 (10:10 +0300)
committerMykola Golub <mgolub@mirantis.com>
Mon, 3 Oct 2016 07:10:33 +0000 (10:10 +0300)
commit2882f8c01a42ee3cfe22a838b64f21c93cf84d16
treedde81613644e4fc71d193e36a6de470fdda0c96d
parent62d8e60cb6be44f0b33ca715c07e14a92f315bf9
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>
qa/workunits/rbd/rbd_mirror.sh