summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-10-03 12:08:30 -0400
committerChris Evich <cevich@redhat.com>2019-10-03 12:08:36 -0400
commit584c70a9f80c717663e880a352cd11df80fc21a6 (patch)
tree2216027c588de261286dc5f5b6f5b5d3dcb4e02f
parentb32cb4b750842212f8002e030db63e92c6485fdc (diff)
downloadpodman-584c70a9f80c717663e880a352cd11df80fc21a6.tar.gz
podman-584c70a9f80c717663e880a352cd11df80fc21a6.tar.bz2
podman-584c70a9f80c717663e880a352cd11df80fc21a6.zip
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>
-rw-r--r--test/e2e/start_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go
index 06ab6aacd..13f14183b 100644
--- a/test/e2e/start_test.go
+++ b/test/e2e/start_test.go
@@ -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() {