mirror of https://github.com/docker/docs.git
check the container started successfully after reschedule
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
aa028f4d09
commit
2cc980e4ab
|
@ -67,6 +67,9 @@ function teardown() {
|
|||
run docker_swarm inspect c3
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "${output}" == *'"Name": "node-1"'* ]]
|
||||
|
||||
run docker_swarm ps -q
|
||||
[ "${#lines[@]}" -eq 2 ]
|
||||
}
|
||||
|
||||
@test "rescheduling with constraints" {
|
||||
|
|
Loading…
Reference in New Issue