Skip to content

Commit 84bd461

Browse files
committed
e2e: print mg output
Signed-off-by: Talor Itzhak <[email protected]>
1 parent 2caee56 commit 84bd461

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/must-gather/must_gather_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ var _ = Describe("[must-gather] NRO data collected", func() {
8484
cmd := exec.Command(cmdline[0], cmdline[1:]...)
8585
cmd.Stderr = GinkgoWriter
8686

87-
_, err = cmd.Output()
87+
output, err := cmd.Output()
8888
Expect(err).ToNot(HaveOccurred())
89+
fmt.Fprintf(GinkgoWriter, "output: %s\n", string(output))
8990
})
9091

9192
AfterEach(func() {

0 commit comments

Comments
 (0)