summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-03 16:35:40 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-03 22:10:27 +0100
commit2b8d6ca09be8610693ac18b6046b3a7a6d3d67dd (patch)
tree0f1ca9598ea6458941a05bb6c88c1be6c4c2f356 /test/e2e
parent3c57bc845ce3108a3881b5707850494ef00550ec (diff)
downloadpodman-2b8d6ca09be8610693ac18b6046b3a7a6d3d67dd.tar.gz
podman-2b8d6ca09be8610693ac18b6046b3a7a6d3d67dd.tar.bz2
podman-2b8d6ca09be8610693ac18b6046b3a7a6d3d67dd.zip
Increase timeouts in some tests
Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/common_test.go2
-rw-r--r--test/e2e/wait_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index 61c0cb4fe..54d801e12 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -441,7 +441,7 @@ func (p *PodmanTestIntegration) BuildImage(dockerfile, imageName string, layers
err := ioutil.WriteFile(dockerfilePath, []byte(dockerfile), 0755)
Expect(err).To(BeNil())
session := p.Podman([]string{"build", "--layers=" + layers, "-t", imageName, "--file", dockerfilePath, p.TempDir})
- session.Wait(120)
+ session.Wait(240)
Expect(session).Should(Exit(0), fmt.Sprintf("BuildImage session output: %q", session.OutputToString()))
}
diff --git a/test/e2e/wait_test.go b/test/e2e/wait_test.go
index aa8a1f245..4f1e74977 100644
--- a/test/e2e/wait_test.go
+++ b/test/e2e/wait_test.go
@@ -34,7 +34,7 @@ var _ = Describe("Podman wait", func() {
It("podman wait on bogus container", func() {
session := podmanTest.Podman([]string{"wait", "1234"})
- session.Wait()
+ session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(125))
})
@@ -45,7 +45,7 @@ var _ = Describe("Podman wait", func() {
cid := session.OutputToString()
Expect(session.ExitCode()).To(Equal(0))
session = podmanTest.Podman([]string{"wait", cid})
- session.Wait()
+ session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
})