From b9cb4f4f35d66ee51a1de1ef6fb598418a6d0d40 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Tue, 12 May 2015 14:03:45 -0700 Subject: [PATCH] integration: add debug to constraint Signed-off-by: Andrea Luzzardi --- test/integration/constraints.bats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/constraints.bats b/test/integration/constraints.bats index e7aa15c73b..c45ac0057a 100644 --- a/test/integration/constraints.bats +++ b/test/integration/constraints.bats @@ -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"'* ]]