Skip to content

Commit

Permalink
Decrese the number of web API workers for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eraviart committed May 12, 2023
1 parent d3ce87b commit 9cbbec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/test-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PORT=5000
ENDPOINT=spec

openfisca serve --country-package openfisca_france --port $PORT &
openfisca serve --country-package openfisca_france --port $PORT --workers 1 &
server_pid=$!

curl --retry-connrefused --retry 10 --retry-delay 5 --fail http://127.0.0.1:$PORT/$ENDPOINT | python -m json.tool > /dev/null
Expand Down

0 comments on commit 9cbbec5

Please sign in to comment.