From 0a0ebb16fecef2a77e22769b09f8d8dea508d479 Mon Sep 17 00:00:00 2001 From: Dong Chen Date: Mon, 15 Aug 2016 00:47:42 -0700 Subject: [PATCH] Add test output to debug failure. Signed-off-by: Dong Chen --- test/integration/replication.bats | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/replication.bats b/test/integration/replication.bats index 156a2d67f0..bcd4e1eff6 100644 --- a/test/integration/replication.bats +++ b/test/integration/replication.bats @@ -185,6 +185,7 @@ function containerRunning() { # Bring up one manager, make sure it becomes primary. swarm_manage --replication --replication-ttl "4s" --advertise 127.0.0.1:$SWARM_BASE_PORT "$NODE_1_URL" run docker -H ${SWARM_HOSTS[0]} info + echo "$output" [[ "${output}" == *"Role: primary"* ]] # Fire up a second manager. Ensure it's a replica forwarding to the right primary.