From 85850859cb1c11e4e4e8045e11e0439f37d269f0 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Tue, 3 Oct 2023 13:39:58 +0200 Subject: [PATCH] Fix e2e tests command to not fail job if timeout --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d00fc2994fa..2901cddfaaca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }}