From 8910c586f81aa57fec88f4a6a19b7cc366b932db Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Tue, 23 Feb 2016 18:28:21 -0800 Subject: [PATCH] make sure all the rescheduled containers were removed Signed-off-by: Victor Vieux --- test/integration/rescheduling.bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/rescheduling.bats b/test/integration/rescheduling.bats index 6baebd9b49..5781b8744d 100644 --- a/test/integration/rescheduling.bats +++ b/test/integration/rescheduling.bats @@ -170,6 +170,9 @@ function containerRunning() { # c2 should have been rescheduled from node-1 to node-0 retry 5 1 containerRunning "c2" "node-0" + + run docker_swarm ps -aq + [ "${#lines[@]}" -eq 2 ] }