make sure all the rescheduled containers were removed

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2016-02-23 18:28:21 -08:00
parent a904eec54f
commit 8910c586f8
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ function containerRunning() {
# c2 should have been rescheduled from node-1 to node-0
retry 5 1 containerRunning "c2" "node-0"
run docker_swarm ps -aq
[ "${#lines[@]}" -eq 2 ]
}