From e29ff44cafbfe3815d6d6e6ff4435b8a7d4fe1a3 Mon Sep 17 00:00:00 2001 From: Nishant Totla Date: Wed, 6 Apr 2016 23:35:59 -0700 Subject: [PATCH] Fixing integration tests Signed-off-by: Nishant Totla --- test/integration/nodemanagement/nodehealth.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/nodemanagement/nodehealth.bats b/test/integration/nodemanagement/nodehealth.bats index cc47bbc853..31ec8ec8b6 100644 --- a/test/integration/nodemanagement/nodehealth.bats +++ b/test/integration/nodemanagement/nodehealth.bats @@ -32,7 +32,7 @@ function teardown() { # Try to schedule a container. It'd first select node-1 and fail run docker_swarm run -m 10m busybox sh [ "$status" -ne 0 ] - [[ "${lines[0]}" == *"Cannot connect to the docker engine endpoint"* ]] + [[ "${lines[0]}" == *"Cannot connect to the docker engine endpoint"* || "${lines[0]}" == *"Cannot connect to the Docker daemon"* ]] # Try to run it again. It'd select node-0 and succeed run docker_swarm run -m 10m busybox sh