]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: small fixup and improvements for rbd-mirror tests
authorMykola Golub <mgolub@mirantis.com>
Thu, 28 Jul 2016 11:49:37 +0000 (14:49 +0300)
committerNathan Cutler <ncutler@suse.com>
Sun, 29 Jan 2017 20:31:45 +0000 (21:31 +0100)
commit735e32bb53fd370058ed8dfb0e29e4a9cfc6e86f
treed1388ee77baaeac08d4ea44655340d1729e89f0f
parent20a480defb607e6e5a72f2bcc3868fb14f9e56de
qa/workunits/rbd: small fixup and improvements for rbd-mirror tests

- log to stderr;
- log status if a `wait_for` function failed;
- don't needlessly sleep in `wait_for` functions after the last
  unsuccessful iteration;
- make `wait_for_pool_images` work for image removal case;
- fix `wait_for_pool_images` reset timeout (last_count set).

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit fdb971a2660111d35f0a3077f17a9ca85ca2ef54)
qa/workunits/rbd/rbd_mirror_helpers.sh
qa/workunits/rbd/rbd_mirror_stress.sh