Skip to content

Commit

Permalink
Retry on all errors
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeelia committed Mar 4, 2024
1 parent b8d8586 commit 1b87dea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
run: ES_VERSION=${{ matrix.esVersion }} npm run env:start

- name: Check ES response
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 40 http://localhost:8890
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-max-time 40 --retry-all-errors http://localhost:8890

- name: Build asset
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
discovery type: 'single-node'

- name: Check ES response
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-max-time 40 http://localhost:8890
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-max-time 40 --retry-all-errors http://localhost:8890

- name: Set standard 10up cache directories
run: |
Expand Down

0 comments on commit 1b87dea

Please sign in to comment.