summaryrefslogtreecommitdiff
path: root/test/e2e/start_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-09-23 09:11:16 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-09-23 14:50:22 -0400
commit8863e0f00503c1930e74376658abc7632555d1e2 (patch)
tree44cd83c170162e4fd6e8925ee5e66a04f3d27560 /test/e2e/start_test.go
parent81c543bbe3cd5130b5a2f163011d59d8b09f6877 (diff)
downloadpodman-8863e0f00503c1930e74376658abc7632555d1e2.tar.gz
podman-8863e0f00503c1930e74376658abc7632555d1e2.tar.bz2
podman-8863e0f00503c1930e74376658abc7632555d1e2.zip
Remove final v2remotefail failures
Most have been fixed, others I replaced with SkipIfRemote Fix ContainerStart on tunnel, it needs to wait for the exit status before returning. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/e2e/start_test.go')
-rw-r--r--test/e2e/start_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go
index 45c26fe43..35b5cab6e 100644
--- a/test/e2e/start_test.go
+++ b/test/e2e/start_test.go
@@ -131,14 +131,16 @@ var _ = Describe("Podman start", func() {
})
It("podman failed to start with --rm should delete the container", func() {
- Skip(v2remotefail)
session := podmanTest.Podman([]string{"create", "--name", "test1", "-it", "--rm", ALPINE, "foo"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
start := podmanTest.Podman([]string{"start", "test1"})
start.WaitWithDefaultTimeout()
- Expect(start).To(ExitWithError())
+
+ wait := podmanTest.Podman([]string{"wait", "test1"})
+ wait.WaitWithDefaultTimeout()
+ Expect(wait).To(ExitWithError())
Eventually(podmanTest.NumberOfContainers(), defaultWaitTimeout, 3.0).Should(BeZero())
})