From 0fcbb07dac6de23044a71bcabd85984132ec93be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Thu, 16 Apr 2026 14:35:15 +0200 Subject: [PATCH] adjust e2e workflow retries and timeouts for improved test stability --- .github/workflows/e2e-tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index e4c380fe8b..54efb9349c 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -105,14 +105,14 @@ jobs: id: test-retry-1 if: steps.test-run.outcome == 'failure' continue-on-error: true - timeout-minutes: 15 + timeout-minutes: 20 run: | echo "::warning::First attempt failed, retrying..." - sleep 90 METEOR_ALLOW_SUPERUSER=1 npm run test:e2e -- -t="${{ matrix.category }}" - - name: Fail if all attempts failed - if: steps.test-run.outcome == 'failure' && steps.test-retry-1.outcome != 'success' + - name: Retry failed tests for ${{ matrix.category }} (attempt 3) + if: steps.test-retry-1.outcome == 'failure' + timeout-minutes: 20 run: | - echo "::error::All test attempts failed for ${{ matrix.category }}" - exit 1 + echo "::warning::Second attempt failed, retrying..." + METEOR_ALLOW_SUPERUSER=1 npm run test:e2e -- -t="${{ matrix.category }}"