Skip to content

Commit

Permalink
qa/workunits/rbd: wait for image deleted before checking health
Browse files Browse the repository at this point in the history
When a primiry image is being deleted, the mirrored image might
temporary be reported in error state, before deletion is propagated.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 8dbe42d)
  • Loading branch information
Mykola Golub authored and smithfarm committed Jan 29, 2017
1 parent 735e32b commit 38e06fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/workunits/rbd/rbd_mirror_stress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ do
done

testlog "TEST: image deletions should propagate"
wait_for_pool_images ${CLUSTER2} ${POOL} 0
wait_for_pool_healthy ${CLUSTER1} ${POOL} 0
for i in `seq 1 ${IMAGE_COUNT}`
do
Expand Down

0 comments on commit 38e06fb

Please sign in to comment.