diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 08:42:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 08:42:27 -0400 |
commit | 558809d4bbd735eca2a31bb07249ac42850f37de (patch) | |
tree | 41ffa2cf2c65ac490e5a4e6a6af1616b32e49cf5 /test/e2e/attach_test.go | |
parent | ef03815117fdf1b8b43d4e2b18caa00ddb3a82b6 (diff) | |
parent | 65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f (diff) | |
download | podman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.gz podman-558809d4bbd735eca2a31bb07249ac42850f37de.tar.bz2 podman-558809d4bbd735eca2a31bb07249ac42850f37de.zip |
Merge pull request #7044 from rhatdan/remotetest
Enable a bunch of remote tests
Diffstat (limited to 'test/e2e/attach_test.go')
-rw-r--r-- | test/e2e/attach_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/attach_test.go b/test/e2e/attach_test.go index 9fd1466aa..827b7568d 100644 --- a/test/e2e/attach_test.go +++ b/test/e2e/attach_test.go @@ -1,5 +1,3 @@ -// +build !remote - package integration import ( @@ -42,6 +40,7 @@ var _ = Describe("Podman attach", func() { }) It("podman attach to non-running container", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"create", "--name", "test1", "-d", "-i", ALPINE, "ls"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -52,6 +51,7 @@ var _ = Describe("Podman attach", func() { }) It("podman container attach to non-running container", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"container", "create", "--name", "test1", "-d", "-i", ALPINE, "ls"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) @@ -87,6 +87,7 @@ var _ = Describe("Podman attach", func() { Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1)) }) It("podman attach to the latest container", func() { + SkipIfRemote() session := podmanTest.Podman([]string{"run", "-d", "--name", "test1", ALPINE, "/bin/sh", "-c", "while true; do echo test1; sleep 1; done"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) |