Skip to content

Commit d243dee

Browse files
committed
fix: Authenticate curl’s readiness check to avoid failing on HTTP 401s (since those actually indicate the service _is_ ready)
1 parent 667a6e3 commit d243dee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
set -euo pipefail
5555
bundle exec puma -b tcp://127.0.0.1:4000 &
5656
echo "Starting Puma on port 4000"
57-
curl -fsS --retry 25 --retry-delay 1 --retry-all-errors "http://127.0.0.1:4000/" > /dev/null
57+
curl -fsS --retry 25 --retry-delay 1 --retry-all-errors -u "${TEST_USERNAME}:${TEST_PASSWORD}" "http://127.0.0.1:4000/" > /dev/null
5858
echo "Puma has started"
5959
6060
- name: Generate cache key

0 commit comments

Comments
 (0)