summaryrefslogtreecommitdiff
path: root/test/utils/utils.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-01 08:43:25 -0800
committerGitHub <noreply@github.com>2019-03-01 08:43:25 -0800
commit55f80719a6b73c23c579bd4cc68cd8c382e7f860 (patch)
tree3c949283191697f7ef0557649140ca4a1c9c9034 /test/utils/utils.go
parentc80416f0346200c7906cfc16c6101594653a0ad6 (diff)
parentf67859ffb396be13cb8c4b8d91343b77de4eb288 (diff)
downloadpodman-55f80719a6b73c23c579bd4cc68cd8c382e7f860.tar.gz
podman-55f80719a6b73c23c579bd4cc68cd8c382e7f860.tar.bz2
podman-55f80719a6b73c23c579bd4cc68cd8c382e7f860.zip
Merge pull request #2481 from cevich/sysexec_waitcomplete
Fix SystemExec completion race
Diffstat (limited to 'test/utils/utils.go')
-rw-r--r--test/utils/utils.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/utils/utils.go b/test/utils/utils.go
index 098779321..499466f5a 100644
--- a/test/utils/utils.go
+++ b/test/utils/utils.go
@@ -326,6 +326,7 @@ func SystemExec(command string, args []string) *PodmanSession {
if err != nil {
Fail(fmt.Sprintf("unable to run command: %s %s", command, strings.Join(args, " ")))
}
+ session.Wait(defaultWaitTimeout)
return &PodmanSession{session}
}