Skip to content

Commit

Permalink
add a sleep, followed by checking that Solr is answering in the test …
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
kevinschaper committed May 31, 2024
1 parent 56179c5 commit c284cde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- 8983:8983
steps:
- uses: actions/checkout@v2
- name: Sleep for 15 seconds to give Solr time to start
run: sleep 15s
shell: bash
- name: Confirm that Solr is answering
run: curl -s -o /dev/null -w "%{http_code}" http://localhost:8983/solr/ || exit 1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit c284cde

Please sign in to comment.