mirror of https://github.com/docker/docs.git
make sure all the rescheduled containers were removed
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
a904eec54f
commit
8910c586f8
|
@ -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 ]
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue