fix test ps --before

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux 2016-01-04 17:36:51 -08:00
parent cc7acf92e7
commit 0f93c86398
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ function teardown() {
swarm_manage swarm_manage
docker_swarm run -d --name c1 busybox echo c1 docker_swarm run -d --name c1 busybox echo c1
sleep 1 #sleep so the 2 containers don't start at the same second
docker_swarm run -d --name c2 busybox echo c2 docker_swarm run -d --name c2 busybox echo c2
run eval "docker_swarm ps --before c1 2>/dev/null" run eval "docker_swarm ps --before c1 2>/dev/null"