mirror of
https://github.com/docker/docs.git
synced 2026-10-31 10:34:26 +03:00
integration: affinities: add debug to help fix the test.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
@@ -98,10 +98,14 @@ function teardown() {
|
||||
[ "$status" -eq 0 ]
|
||||
|
||||
run docker_swarm inspect c1
|
||||
# FIXME: This will help debugging the failing test.
|
||||
echo $output
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "${output}" == *'"Name": "node-1"'* ]]
|
||||
|
||||
run docker_swarm inspect c2
|
||||
# FIXME: This will help debugging the failing test.
|
||||
echo $output
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "${output}" == *'"Name": "node-1"'* ]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user