Skip to content

Commit

Permalink
wait until server is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
iainsproat committed Dec 31, 2024
1 parent 0d5a1c5 commit ea22d5b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/rest-api-fuzzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ jobs:
- name: Run RESTler coverage test
run: |
curl --head --fail http://127.0.0.1:3000/readiness
until curl --output /dev/null --silent --head --fail http://127.0.0.1:3000/readiness; do
echo "Waiting a further 3 seconds for speckle-server to start..."
sleep 3
done
${{ github.workspace }}/bin/restler/Restler test \
--grammar_file "${{ github.workspace }}/Compile/grammar.py" \
--dictionary_file "${{ github.workspace }}/speckle-server/setup/fuzzer/dictionary.restler.json" \
Expand Down

0 comments on commit ea22d5b

Please sign in to comment.