Skip to content

Commit

Permalink
ci: check for KVStore status before running tests (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
artemrys authored Jul 24, 2023
1 parent 9340027 commit d7b3632
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ jobs:
sudo /opt/splunk/bin/splunk start --accept-license
sudo /opt/splunk/bin/splunk set servername custom-servername -auth admin:Chang3d!
sudo /opt/splunk/bin/splunk restart
until curl -k -s -u admin:Chang3d! https://localhost:8089/services/server/info\?output_mode\=json | jq '.entry[0].content.kvStoreStatus' | grep -o "ready" ; do echo -n "Waiting for KVStore to become ready-" && sleep 5 ; done
timeout-minutes: 5
- name: Run tests
run: |
poetry install
Expand Down

0 comments on commit d7b3632

Please sign in to comment.