Skip to content

Commit fc3650c

Browse files
committed
Adjust e2e step retries and timeouts
1 parent bd4bad0 commit fc3650c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: .github/workflows/e2e-tests.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
name: playwright:snapshots:ubuntu
168168
runs-on: runs-on=${{ github.run_id }}/family=i7ie.2xlarge/image=ubuntu22-full-x64
169169
needs: [conditions, prepare-wasm]
170+
timeout-minutes: 10
170171
steps:
171172
- uses: actions/create-github-app-token@v1
172173
if: needs.conditions.outputs.should-run == 'true'
@@ -226,8 +227,8 @@ jobs:
226227
with:
227228
shell: bash
228229
command: npm run test:snapshots
229-
timeout_minutes: 30
230-
max_attempts: 3
230+
timeout_minutes: 5
231+
max_attempts: 5
231232
env:
232233
token: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}
233234
snapshottoken: ${{ secrets.KITTYCAD_API_TOKEN }}
@@ -275,7 +276,7 @@ jobs:
275276
276277
electron:
277278
needs: [conditions, prepare-wasm]
278-
timeout-minutes: 60
279+
timeout-minutes: 40
279280
env:
280281
OS_NAME: ${{ contains(matrix.os, 'ubuntu') && 'ubuntu' || (contains(matrix.os, 'windows') && 'windows' || 'macos') }}
281282
name: playwright:electron:${{ contains(matrix.os, 'ubuntu') && 'ubuntu' || (contains(matrix.os, 'windows') && 'windows' || 'macos') }}:${{ matrix.shardIndex }}:${{ matrix.shardTotal }}
@@ -365,7 +366,7 @@ jobs:
365366
with:
366367
shell: bash
367368
command: .github/ci-cd-scripts/playwright-electron.sh ${{matrix.shardIndex}} ${{matrix.shardTotal}} ${{ env.OS_NAME }}
368-
timeout_minutes: 30
369+
timeout_minutes: 20
369370
max_attempts: 9
370371
env:
371372
FAIL_ON_CONSOLE_ERRORS: true

0 commit comments

Comments
 (0)