From dda1dee88e9f0900dfdc0e4ba8111289a235aa4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastian=20Molle?= Date: Tue, 9 Jul 2024 13:49:44 +0200 Subject: [PATCH] Fix testsuite for curl version --- test/helpers/tests.bash | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/helpers/tests.bash b/test/helpers/tests.bash index 8f660e1..8d4f37c 100644 --- a/test/helpers/tests.bash +++ b/test/helpers/tests.bash @@ -25,10 +25,14 @@ docker_cleanup() { # $2 HTTP path to query # $@ additional options to pass to the curl command function curl_container { + #local -r curl_image_name="docker.io/appropriate/curl:latest" + #local -r curl_image_name="docker.io/curlimages/curl:7.88.1" + local -r curl_image_name="docker.io/curlimages/curl:8.1.2" + local -r container=$1 local -r path=$2 shift 2 - ${BATS_CONTAINER_ENGINE} run --rm --net=${BATS_CONTAINER_NETWORK_NAME} --label bats-type="curl" appropriate/curl --silent \ + ${BATS_CONTAINER_ENGINE} run --rm --net=${BATS_CONTAINER_NETWORK_NAME} --label bats-type="curl" ${curl_image_name} --silent \ --connect-timeout 5 \ --max-time 20 \ --retry 4 --retry-delay 5 \