diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-09-01 12:50:17 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-06 21:26:15 +0000 |
commit | 8b2b88ebff512bdb3981e046710eea7dca586edb (patch) | |
tree | cd37d84af95e0e923274ef41ead57e4b24689af4 /test/e2e/run_test.go | |
parent | a6811c89fc94adac39da9b3736cf90b7b31b6923 (diff) | |
download | podman-8b2b88ebff512bdb3981e046710eea7dca586edb.tar.gz podman-8b2b88ebff512bdb3981e046710eea7dca586edb.tar.bz2 podman-8b2b88ebff512bdb3981e046710eea7dca586edb.zip |
Update WaitForTimeOut to output OutputString to help with debugging.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #1416
Approved by: baude
Diffstat (limited to 'test/e2e/run_test.go')
-rw-r--r-- | test/e2e/run_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index e437d47d3..3ea639a11 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -299,7 +299,6 @@ var _ = Describe("Podman run", func() { log := filepath.Join(podmanTest.TempDir, "/container.log") session := podmanTest.Podman([]string{"run", "--rm", "--log-opt", fmt.Sprintf("path=%s", log), ALPINE, "ls"}) session.WaitWithDefaultTimeout() - fmt.Println(session.OutputToString()) Expect(session.ExitCode()).To(Equal(0)) _, err := os.Stat(log) Expect(err).To(BeNil()) @@ -313,7 +312,6 @@ var _ = Describe("Podman run", func() { session := podmanTest.Podman([]string{"run", "--rm", "bb", "ls"}) session.WaitWithDefaultTimeout() - fmt.Println(session.OutputToString()) Expect(session.ExitCode()).To(Equal(0)) }) |