mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
Raise start_test polling interval
According to the documentation https://onsi.github.io/gomega/#eventually > the default value for the polling interval is 10 milliseconds That is excessively fast given the observed failures in issue #4021 are always using podman-remote. Lower the interval to 3-seconds, which should be plenty long enough for container removal. Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
@ -110,7 +110,7 @@ var _ = Describe("Podman start", func() {
|
||||
start.WaitWithDefaultTimeout()
|
||||
Expect(start.ExitCode()).Should(BeNumerically(">", 0))
|
||||
|
||||
Eventually(podmanTest.NumberOfContainers(), defaultWaitTimeout).Should(BeZero())
|
||||
Eventually(podmanTest.NumberOfContainers(), defaultWaitTimeout, 3.0).Should(BeZero())
|
||||
})
|
||||
|
||||
It("podman failed to start without --rm should NOT delete the container", func() {
|
||||
@ -122,7 +122,7 @@ var _ = Describe("Podman start", func() {
|
||||
start.WaitWithDefaultTimeout()
|
||||
Expect(start.ExitCode()).Should(BeNumerically(">", 0))
|
||||
|
||||
Eventually(podmanTest.NumberOfContainers(), defaultWaitTimeout).Should(Equal(1))
|
||||
Eventually(podmanTest.NumberOfContainers(), defaultWaitTimeout, 3.0).Should(Equal(1))
|
||||
})
|
||||
|
||||
It("podman start --sig-proxy should not work without --attach", func() {
|
||||
|
Reference in New Issue
Block a user