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
1 changed files with 1 additions and 1 deletions

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