Skip to content

Commit

Permalink
Merge pull request #19073 from trociny/wip-qa-demote
Browse files Browse the repository at this point in the history
qa/workunits/rbd: wait for demote status is propagated

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
  • Loading branch information
Jason Dillaman committed Nov 21, 2017
2 parents 7efdf3c + f4b88b2 commit 0502cb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qa/workunits/rbd/rbd_mirror.sh
Expand Up @@ -425,6 +425,7 @@ wait_for_status_in_pool_dir ${CLUSTER1} ${POOL} ${image} 'up+unknown'
promote_image ${CLUSTER1} ${POOL} ${image}
write_image ${CLUSTER1} ${POOL} ${image} 10
demote_image ${CLUSTER1} ${POOL} ${image}
wait_for_status_in_pool_dir ${CLUSTER2} ${POOL} ${image} 'up+unknown'
promote_image ${CLUSTER2} ${POOL} ${image}
wait_for_status_in_pool_dir ${CLUSTER1} ${POOL} ${image} 'up+error' 'split-brain'
request_resync_image ${CLUSTER1} ${POOL} ${image} image_id
Expand Down

0 comments on commit 0502cb1

Please sign in to comment.