summaryrefslogtreecommitdiff
path: root/test/utils/utils.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-27 20:09:17 +0200
committerGitHub <noreply@github.com>2019-09-27 20:09:17 +0200
commitd4399eebb9f3ce91f8869902bf4b806bf2e56b35 (patch)
treecec20dfc07663e59053dbffc3eaeebf38e450631 /test/utils/utils.go
parenta8c2b5dee4b746c2e83970603ff2645008d54b95 (diff)
parentf4723beac6e19d23756ee5a1423fb4eac6819400 (diff)
downloadpodman-d4399eebb9f3ce91f8869902bf4b806bf2e56b35.tar.gz
podman-d4399eebb9f3ce91f8869902bf4b806bf2e56b35.tar.bz2
podman-d4399eebb9f3ce91f8869902bf4b806bf2e56b35.zip
Merge pull request #4121 from jwhonce/issue/4021
Change ginkgo Wait() to Eventually() test
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r--test/utils/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go
index 028107d46..2ae140fab 100644
--- a/test/utils/utils.go
+++ b/test/utils/utils.go
@@ -320,7 +320,7 @@ func (s *PodmanSession) IsJSONOutputValid() bool {
// WaitWithDefaultTimeout waits for process finished with defaultWaitTimeout
func (s *PodmanSession) WaitWithDefaultTimeout() {
- s.Wait(defaultWaitTimeout)
+ Eventually(s, defaultWaitTimeout).Should(gexec.Exit())
os.Stdout.Sync()
os.Stderr.Sync()
fmt.Println("output:", s.OutputToString())