diff options
author | Matej Vasek <mvasek@redhat.com> | 2021-02-03 16:35:40 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-02-08 14:29:39 -0500 |
commit | 2df59dece58a794c58fa4ad15f3f9b13a4b7aa42 (patch) | |
tree | 51cb8ab1f7d6d79a304d2e5e15c7c699526e3896 /test/e2e | |
parent | 5397737edc4036b2aaf1704558fe3b83d9883757 (diff) | |
download | podman-2df59dece58a794c58fa4ad15f3f9b13a4b7aa42.tar.gz podman-2df59dece58a794c58fa4ad15f3f9b13a4b7aa42.tar.bz2 podman-2df59dece58a794c58fa4ad15f3f9b13a4b7aa42.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.go | 2 | ||||
-rw-r--r-- | test/e2e/wait_test.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go index 41ad9640c..a870117d9 100644 --- a/test/e2e/common_test.go +++ b/test/e2e/common_test.go @@ -437,7 +437,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)) }) |