Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 85c8094

Browse files
committed
Show stack status when TestBackwardsCompatibilityV1 fails
Signed-off-by: Nick Adcock <[email protected]>
1 parent 012748d commit 85c8094

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

e2e/compatibility_test.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ func TestBackwardsCompatibilityV1(t *testing.T) {
138138
output = info.execCmd("/usr/bin/wget", "-O", "-", url)
139139
return strings.Contains(output, `Hi there, I love Docker!`), nil
140140
})
141-
assert.NilError(t, err)
141+
output = ""
142+
if err != nil {
143+
output = info.dockerCmd("stack", "ps", appName)
144+
}
145+
assert.NilError(t, err, output)
142146
}
143147

144148
// Check status on install

0 commit comments

Comments
 (0)