diff --git a/packer_test/commands_test.go b/packer_test/commands_test.go index 0c362e823..6537698ba 100644 --- a/packer_test/commands_test.go +++ b/packer_test/commands_test.go @@ -155,6 +155,10 @@ func (pc *packerCommand) Assert(checks ...Checker) { if pc.t.Failed() { pc.t.Errorf("attempt %d failed validation", attempt) + + pc.t.Logf("dumping stdout: %s", stdout) + pc.t.Logf("dumping stdout: %s", stderr) + break } }