diff --git a/scripts/cerberus_integration.sh b/scripts/cerberus_integration.sh index 90c16e7a..29d44b9e 100755 --- a/scripts/cerberus_integration.sh +++ b/scripts/cerberus_integration.sh @@ -212,7 +212,7 @@ echo "" log_info "Waiting for httpbin backend to be ready..." for i in {1..45}; do - if docker exec ${CONTAINER_NAME} sh -c "curl -sf http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then + if docker exec ${CONTAINER_NAME} sh -c "wget -qO /dev/null http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then log_info "httpbin backend is ready" break fi diff --git a/scripts/coraza_integration.sh b/scripts/coraza_integration.sh index 68c77aa9..9c1d7463 100755 --- a/scripts/coraza_integration.sh +++ b/scripts/coraza_integration.sh @@ -160,7 +160,7 @@ docker run -d --name coraza-backend --network containers_default mccutchen/go-ht echo "Waiting for httpbin backend to be ready..." for i in {1..20}; do # Check if container is running and has network connectivity - if docker exec charon-debug sh -c 'curl -s http://coraza-backend/get' >/dev/null 2>&1; then + if docker exec charon-debug sh -c 'wget -qO /dev/null http://coraza-backend/get' >/dev/null 2>&1; then echo "✓ httpbin backend is ready" break fi diff --git a/scripts/rate_limit_integration.sh b/scripts/rate_limit_integration.sh index c7b58f05..548adbc2 100755 --- a/scripts/rate_limit_integration.sh +++ b/scripts/rate_limit_integration.sh @@ -188,7 +188,7 @@ docker run -d --name ${BACKEND_CONTAINER} --network containers_default mccutchen echo "Waiting for httpbin backend to be ready..." for i in {1..45}; do - if docker exec ${CONTAINER_NAME} sh -c "curl -sf http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then + if docker exec ${CONTAINER_NAME} sh -c "wget -qO /dev/null http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then echo "✓ httpbin backend is ready" break fi diff --git a/scripts/waf_integration.sh b/scripts/waf_integration.sh index 0fc18812..c6023419 100755 --- a/scripts/waf_integration.sh +++ b/scripts/waf_integration.sh @@ -203,7 +203,7 @@ echo "" log_info "Waiting for httpbin backend to be ready..." for i in {1..45}; do - if docker exec ${CONTAINER_NAME} sh -c "curl -sf http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then + if docker exec ${CONTAINER_NAME} sh -c "wget -qO /dev/null http://${BACKEND_CONTAINER}/get" >/dev/null 2>&1; then log_info "httpbin backend is ready" break fi