mirror of https://github.com/docker/docs.git
fix docker wait test
Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
05234232a3
commit
fe4163148f
|
@ -15,7 +15,7 @@ function teardown() {
|
|||
docker_swarm run -d --name test_container busybox sleep 1
|
||||
|
||||
# wait until exist(after 1 seconds)
|
||||
run timeout 5 docker -H $SWARM_HOST wait test_container
|
||||
run timeout 5 docker -H ${SWARM_HOSTS[0]} wait test_container
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "${output}" == "0" ]]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue