diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-10-02 07:42:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 07:42:05 -0400 |
commit | 375fbb9805ec9dcd54f039536475bb74847caf08 (patch) | |
tree | 827895b29f44682c62d88d6d0812470b1d711805 /test/e2e | |
parent | 1de96f2c4c390bae29c303e2390da9e87a993d3f (diff) | |
parent | 163d81cc0dd0139eb14dfcd6595c9eafb40472b2 (diff) | |
download | podman-375fbb9805ec9dcd54f039536475bb74847caf08.tar.gz podman-375fbb9805ec9dcd54f039536475bb74847caf08.tar.bz2 podman-375fbb9805ec9dcd54f039536475bb74847caf08.zip |
Merge pull request #11816 from cdoern/podEventsBug
Pod Events Logging Fix
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/events_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/e2e/events_test.go b/test/e2e/events_test.go index 46ea10c56..ee0b8761a 100644 --- a/test/e2e/events_test.go +++ b/test/e2e/events_test.go @@ -199,4 +199,17 @@ var _ = Describe("Podman events", func() { wg.Wait() }) + + It("podman events pod creation", func() { + create := podmanTest.Podman([]string{"pod", "create", "--infra=false", "--name", "foobarpod"}) + create.WaitWithDefaultTimeout() + Expect(create).Should(Exit(0)) + id := create.OutputToString() + result := podmanTest.Podman([]string{"events", "--stream=false", "--filter", "pod=" + id}) + result.WaitWithDefaultTimeout() + Expect(result).Should(Exit(0)) + Expect(result.OutputToStringArray()).To(HaveLen(1)) + Expect(result.OutputToString()).To(ContainSubstring("create")) + }) + }) |