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>
  • Loading branch information
Mykola Golub committed Jul 28, 2016
1 parent fdb971a commit 8dbe42d
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 @@ -156,6 +156,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 8dbe42d

Please sign in to comment.