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