summaryrefslogtreecommitdiff
path: root/test/e2e/attach_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-21 16:04:19 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-07-21 19:23:24 -0400
commit65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f (patch)
tree6254e28b9c598a8fb81d4eb9b9823b09a1d4580c /test/e2e/attach_test.go
parente5b3563a897395030c5714ac014bbad79f24ede9 (diff)
downloadpodman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.tar.gz
podman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.tar.bz2
podman-65e1638f9bba1bd16dfcef5bb897cf1c1bc4889f.zip
Enable a bunch of remote tests
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/attach_test.go')
-rw-r--r--test/e2e/attach_test.go5
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))