summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-02-18 11:13:31 -0500
committerGitHub <noreply@github.com>2021-02-18 11:13:31 -0500
commitb2bb05d598452f7653e5b9311e3bd844b767cb26 (patch)
tree9a86f5fd20924b275ecc45c3b8480804e6b5258b /test
parentc3419d2168415cb3e6f1349afaa9c04c29cbb933 (diff)
parente022c19753182cfb85f8f49354d493ee3a3147a3 (diff)
downloadpodman-b2bb05d598452f7653e5b9311e3bd844b767cb26.tar.gz
podman-b2bb05d598452f7653e5b9311e3bd844b767cb26.tar.bz2
podman-b2bb05d598452f7653e5b9311e3bd844b767cb26.zip
Merge pull request #9414 from edigaryev/fix-wait-api-condition
API: fix libpod's container wait endpoint condition conversion
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/20-containers.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/apiv2/20-containers.at b/test/apiv2/20-containers.at
index 0da196e46..a99e9a184 100644
--- a/test/apiv2/20-containers.at
+++ b/test/apiv2/20-containers.at
@@ -63,7 +63,7 @@ cid=$(jq -r '.Id' <<<"$output")
# Prior to the fix in #6835, this would fail 500 "args must not be empty"
t POST libpod/containers/${cid}/start '' 204
# Container should exit almost immediately. Wait for it, confirm successful run
-t POST libpod/containers/${cid}/wait '' 200 '0'
+t POST "libpod/containers/${cid}/wait?condition=stopped&condition=exited" '' 200 '0'
t GET libpod/containers/${cid}/json 200 \
.Id=$cid \
.State.Status~\\\(exited\\\|stopped\\\) \