integration: affinities: add debug to help fix the test.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-05-08 18:23:52 -07:00
parent c8f0fa545a
commit edb3504bc4
1 changed files with 4 additions and 0 deletions

View File

@ -98,10 +98,14 @@ function teardown() {
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
run docker_swarm inspect c1 run docker_swarm inspect c1
# FIXME: This will help debugging the failing test.
echo $output
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[[ "${output}" == *'"Name": "node-1"'* ]] [[ "${output}" == *'"Name": "node-1"'* ]]
run docker_swarm inspect c2 run docker_swarm inspect c2
# FIXME: This will help debugging the failing test.
echo $output
[ "$status" -eq 0 ] [ "$status" -eq 0 ]
[[ "${output}" == *'"Name": "node-1"'* ]] [[ "${output}" == *'"Name": "node-1"'* ]]