integration: add debug to constraint

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2015-05-12 14:03:45 -07:00
parent 38a1708e81
commit b9cb4f4f35
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ 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-0"'* ]]