Skip to content

Commit

Permalink
Change wait method
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Aug 5, 2024
1 parent 86367de commit f4fb835
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,12 @@ jobs:
run: docker compose -f docker-compose.yaml -f docker-compose-k6.${{ matrix.service }}.yaml up -d

- name: Wait for API to be ready
working-directory: tools/ci-k6
run: node wait-for-ready.js
uses: cygnetdigital/[email protected]
with:
url: 'http://localhost:3000/'
responseCode: '200'
timeout: 120000
interval: 2000

- name: Setup K6
uses: grafana/setup-k6-action@v1
Expand Down

0 comments on commit f4fb835

Please sign in to comment.