mirror of
https://github.com/containers/podman.git
synced 2025-06-26 21:07:02 +08:00
Increase timeouts in some tests
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
@ -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()))
|
||||
}
|
||||
|
||||
|
@ -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))
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user