aboutsummaryrefslogtreecommitdiff
path: root/test/e2e/pod_start_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-22 10:08:28 -0400
committerMatthew Heon <mheon@redhat.com>2020-09-25 11:52:19 -0400
commitde11de7f7350e46c607a7a847e396aaee0d2cbba (patch)
treeb2916af0ba4f07d87ad7a83b2cebd3c5f82ee27c /test/e2e/pod_start_test.go
parent742c5a28545c5cdc480557f4606ddd0efdf63fef (diff)
downloadpodman-de11de7f7350e46c607a7a847e396aaee0d2cbba.tar.gz
podman-de11de7f7350e46c607a7a847e396aaee0d2cbba.tar.bz2
podman-de11de7f7350e46c607a7a847e396aaee0d2cbba.zip
Examine all SkipIfRemote functions
Remove ones that are not needed. Document those that should be there. Document those that should be fixed. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/pod_start_test.go')
-rw-r--r--test/e2e/pod_start_test.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/e2e/pod_start_test.go b/test/e2e/pod_start_test.go
index 2f0160e99..63a915548 100644
--- a/test/e2e/pod_start_test.go
+++ b/test/e2e/pod_start_test.go
@@ -107,7 +107,6 @@ var _ = Describe("Podman pod start", func() {
})
It("podman pod start latest pod", func() {
- SkipIfRemote()
_, ec, _ := podmanTest.CreatePod("foobar99")
Expect(ec).To(Equal(0))
@@ -122,7 +121,11 @@ var _ = Describe("Podman pod start", func() {
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- session = podmanTest.Podman([]string{"pod", "start", "--latest"})
+ podid := "--latest"
+ if IsRemote() {
+ podid = "foobar100"
+ }
+ session = podmanTest.Podman([]string{"pod", "start", podid})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
Expect(podmanTest.NumberOfContainersRunning()).To(Equal(1))