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 committed Nov 23, 2016
1 parent 7308f7a commit f4aef5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/workunits/rbd/rbd_mirror_stress.sh
Expand Up @@ -158,6 +158,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 f4aef5a

Please sign in to comment.