Skip to content

Commit

Permalink
Fix testsuite for curl version
Browse files Browse the repository at this point in the history
  • Loading branch information
zebby76 committed Jul 9, 2024
1 parent da4f0d4 commit dda1dee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/helpers/tests.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit dda1dee

Please sign in to comment.