summaryrefslogtreecommitdiff
path: root/test/e2e/start_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-24 00:08:31 +0000
committerGitHub <noreply@github.com>2020-09-24 00:08:31 +0000
commit505f3122b8fbe8bd4571514cd09157e62ba5b40e (patch)
treed1e01795675e3e46ed8d1021108dc449ec1728bd /test/e2e/start_test.go
parenta6b300ef7ee19da0c590af9bbcd1a35de7fa8c84 (diff)
parent8863e0f00503c1930e74376658abc7632555d1e2 (diff)
downloadpodman-505f3122b8fbe8bd4571514cd09157e62ba5b40e.tar.gz
podman-505f3122b8fbe8bd4571514cd09157e62ba5b40e.tar.bz2
podman-505f3122b8fbe8bd4571514cd09157e62ba5b40e.zip
Merge pull request #7731 from rhatdan/v2remotefail
Remove final v2remotefail failures
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())
})