Skip to content

Commit

Permalink
only allow 1 retry for flaky e2e tests (#3447)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs authored Mar 18, 2024
1 parent ff034eb commit 43f673c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vscode/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ const isWin = process.platform.startsWith('win')

export default defineConfig({
workers: 1,
// Give failing tests more chances
retries: isWin ? 4 : 2,
retries: 1, // give flaky tests 1 more chance, but we should fix flakiness when we see it
testDir: 'test/e2e',
timeout: isWin ? 30000 : 20000,
expect: {
Expand Down

0 comments on commit 43f673c

Please sign in to comment.