Skip to content

Commit 69c03d9

Browse files
committed
Another sleep replacement
1 parent def8198 commit 69c03d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,8 +562,8 @@ docker run -d --rm \
562562
-e HTTPS_CERT_FILE="${container_https_cert_file}" \
563563
-v "${https_key_file}:${container_https_key_file}:ro,z" \
564564
-e HTTPS_KEY_FILE="${container_https_key_file}" \
565-
--name http-echo-tests -p 8443:8443 -t mendhak/http-https-echo:testing
566-
sleep 5
565+
--name http-echo-tests -p 8080:8080 -p 8443:8443 -t mendhak/http-https-echo:testing
566+
wait_for_ready
567567

568568
REQUEST_WITH_STATUS_CODE="$(curl -s --cacert "$(pwd)/server_fullchain.pem" -o /dev/null -w "%{http_code}" \
569569
--resolve "${cert_common_name}:8443:127.0.0.1" "https://${cert_common_name}:8443/hello-world")"

0 commit comments

Comments
 (0)