From 9699e81a0624c8505b63d9ac5b5a30980c9f5b46 Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Wed, 17 Feb 2021 21:18:39 +0300 Subject: API: fix libpod's container wait endpoint condition conversion Signed-off-by: Nikolay Edigaryev --- test/apiv2/20-containers.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/apiv2') 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\\\) \ -- cgit v1.2.3-54-g00ecf