diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-31 18:35:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 18:35:44 -0400 |
commit | 4c75fe3f70ed5807a319b6a581964a2d468a84a1 (patch) | |
tree | 669896fe08aace7b5e6b2c0a69ca23dc71d516ab /test/e2e | |
parent | 7a15be546adffe4f884abfbd4ed02f69ac7659e0 (diff) | |
parent | 949dfc85a0118387aaeffe77f0d9e4be33d93f2e (diff) | |
download | podman-4c75fe3f70ed5807a319b6a581964a2d468a84a1.tar.gz podman-4c75fe3f70ed5807a319b6a581964a2d468a84a1.tar.bz2 podman-4c75fe3f70ed5807a319b6a581964a2d468a84a1.zip |
Merge pull request #7152 from Luap99/fix#7087
fix pod creation with "new:" syntax
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/run_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/e2e/run_test.go b/test/e2e/run_test.go index 1f9cc3cb0..6bb12b54a 100644 --- a/test/e2e/run_test.go +++ b/test/e2e/run_test.go @@ -812,7 +812,11 @@ USER mail` }) It("podman run --pod automatically", func() { - session := podmanTest.Podman([]string{"run", "--pod", "new:foobar", ALPINE, "ls"}) + session := podmanTest.Podman([]string{"run", "-d", "--pod", "new:foobar", ALPINE, "nc", "-l", "-p", "8080"}) + session.WaitWithDefaultTimeout() + Expect(session.ExitCode()).To(Equal(0)) + + session = podmanTest.Podman([]string{"run", "--pod", "foobar", ALPINE, "/bin/sh", "-c", "echo test | nc -w 1 127.0.0.1 8080"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) |