summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-12-17 14:15:11 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-12-17 14:15:11 +0100
commit5cbc6b62dac5836bd3aa3ba456fab2896f65f6e0 (patch)
tree113c9de0fe679ecda5e7a9f5cfa803cd275ba5f6 /test/apiv2
parent820cf0e0661764de4e61e3d27a603acec817a363 (diff)
downloadpodman-5cbc6b62dac5836bd3aa3ba456fab2896f65f6e0.tar.gz
podman-5cbc6b62dac5836bd3aa3ba456fab2896f65f6e0.tar.bz2
podman-5cbc6b62dac5836bd3aa3ba456fab2896f65f6e0.zip
apiv2 tests: use quay.io/libpod/testimage:20210610 for platform tests
The quay.io/libpod/testimage:20210610 is known not to change and to remain stable over time. While the same should apply for alpine image on quay.io/libpod, we've seen it flake and return the wrong image. The reasons for that observation are unknown. Fixes: #12631 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/10-images.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index 07b63e566..36c2fc6aa 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -53,8 +53,8 @@ t POST "images/create?fromImage=alpine" 200 .error~null .status~".*Download comp
t POST "images/create?fromImage=alpine&tag=latest" 200
# 10977 - handle platform parameter correctly
-t POST "images/create?fromImage=alpine&platform=linux/arm64" 200
-t GET "images/alpine/json" 200 \
+t POST "images/create?fromImage=testimage:20210610&platform=linux/arm64" 200
+t GET "images/testimage:20210610/json" 200 \
.Architecture=arm64
# Make sure that new images are pulled