diff --git a/test/e2e/framework/exec_util.go b/test/e2e/framework/exec_util.go index cf4e1fe7e5f..10c86946b2c 100644 --- a/test/e2e/framework/exec_util.go +++ b/test/e2e/framework/exec_util.go @@ -55,8 +55,8 @@ func (f *Framework) ExecCommandInContainer(podName, containerName string, cmd .. }, api.ParameterCodec) err = execute("POST", req.URL(), config, stdin, &stdout, &stderr, tty) - Expect(err).NotTo(HaveOccurred(), "post request failed") Logf("Exec stderr: %q", stderr.String()) + Expect(err).NotTo(HaveOccurred(), "post request failed") return strings.TrimSpace(stdout.String()) }