mirror of https://github.com/docker/docs.git
Merge pull request #770 from aluzzardi/integration-constraints-debug
integration: add debug to constraint
This commit is contained in:
commit
d741a24887
|
|
@ -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"'* ]]
|
||||
|
||||
|
|
|
|||
|
|
@ -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"'* ]]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue