Skip to content

Commit

Permalink
Fix e2e tests command to not fail job if timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Oct 3, 2023
1 parent 25d3600 commit 8585085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ jobs:
# after ~10 minutes those should have passed already if there are no failed test cases.
# In this case, just set the job status to passed as there was likely no actual issue.
# See https://github.com/ChainSafe/lodestar/issues/5913
run: timeout 15m yarn test:e2e || { test $? -ne 124 && exit 1; }
run: timeout 15m yarn test:e2e || { test $? -eq 124 || exit 1; }
env:
GOERLI_RPC_URL: ${{ secrets.GOERLI_RPC_URL!=0 && secrets.GOERLI_RPC_URL || env.GOERLI_RPC_DEFAULT_URL }}

Expand Down

0 comments on commit 8585085

Please sign in to comment.