summaryrefslogtreecommitdiff
path: root/test/e2e/play_kube_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-12-11 10:38:17 -0500
committerGitHub <noreply@github.com>2020-12-11 10:38:17 -0500
commitb0a287ce46ee8326d25efc1e3b9d690eb1e1bbab (patch)
treea08d6774ca2167f8c809c4488483f978a681c843 /test/e2e/play_kube_test.go
parent99ac30a88287e2c174e69812293f6b130f7a67d5 (diff)
parentba545c49a216d20be83bdfb0357a4d5f0abe6800 (diff)
downloadpodman-b0a287ce46ee8326d25efc1e3b9d690eb1e1bbab.tar.gz
podman-b0a287ce46ee8326d25efc1e3b9d690eb1e1bbab.tar.bz2
podman-b0a287ce46ee8326d25efc1e3b9d690eb1e1bbab.zip
Merge pull request #8686 from Luap99/logs-stderr
podman logs honor stderr correctly
Diffstat (limited to 'test/e2e/play_kube_test.go')
-rw-r--r--test/e2e/play_kube_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/play_kube_test.go b/test/e2e/play_kube_test.go
index 5ecfdd6b5..3a2387559 100644
--- a/test/e2e/play_kube_test.go
+++ b/test/e2e/play_kube_test.go
@@ -1072,7 +1072,7 @@ var _ = Describe("Podman play kube", func() {
logs := podmanTest.Podman([]string{"logs", getCtrNameInPod(pod)})
logs.WaitWithDefaultTimeout()
Expect(logs.ExitCode()).To(Equal(0))
- Expect(logs.OutputToString()).To(ContainSubstring("Operation not permitted"))
+ Expect(logs.ErrorToString()).To(ContainSubstring("Operation not permitted"))
})
It("podman play kube seccomp pod level", func() {
@@ -1099,7 +1099,7 @@ var _ = Describe("Podman play kube", func() {
logs := podmanTest.Podman([]string{"logs", getCtrNameInPod(pod)})
logs.WaitWithDefaultTimeout()
Expect(logs.ExitCode()).To(Equal(0))
- Expect(logs.OutputToString()).To(ContainSubstring("Operation not permitted"))
+ Expect(logs.ErrorToString()).To(ContainSubstring("Operation not permitted"))
})
It("podman play kube with pull policy of never should be 125", func() {