1
0
mirror of https://github.com/docker/docs.git synced 2026-10-29 20:39:05 +03:00

fix docker wait test

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux
2015-07-18 21:47:41 -07:00
parent 05234232a3
commit fe4163148f

View File

@@ -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" ]]
}