mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Add test output to debug failure.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user