summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNikolay Edigaryev <edigaryev@gmail.com>2021-02-17 21:18:39 +0300
committerNikolay Edigaryev <edigaryev@gmail.com>2021-02-18 00:34:23 +0300
commit9699e81a0624c8505b63d9ac5b5a30980c9f5b46 (patch)
treefc83f8e8d0f16ff96cd728a756a3bead9e255018 /test
parentd48f4a0e1f3d24fb4f98351b5bdd31daa34c0fb6 (diff)
downloadpodman-9699e81a0624c8505b63d9ac5b5a30980c9f5b46.tar.gz
podman-9699e81a0624c8505b63d9ac5b5a30980c9f5b46.tar.bz2
podman-9699e81a0624c8505b63d9ac5b5a30980c9f5b46.zip
API: fix libpod's container wait endpoint condition conversion
Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
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..292562934 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\\\) \