Merge pull request #770 from aluzzardi/integration-constraints-debug

integration: add debug to constraint
This commit is contained in:
Victor Vieux 2015-05-12 15:08:26 -07:00
commit d741a24887
2 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,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-1"'* ]]
@ -66,6 +68,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-1"'* ]]

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"'* ]]
@ -52,6 +54,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"'* ]]