Skip to content

Commit 6a4c70e

Browse files
authored
Update default test timeouts for yarn install times (#35669)
This updates our default test times as discussed to account for longer `yarn install` times for the isolated tests as GitHub actions network can be slow. x-ref: #35507 (comment) x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1647919982840099)
1 parent 3d5a9bf commit 6a4c70e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/lib/e2e-utils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { InstallCommand, NextInstance, PackageJson } from './next-modes/base'
55
import { NextDevInstance } from './next-modes/next-dev'
66
import { NextStartInstance } from './next-modes/next-start'
77

8+
// increase timeout to account for yarn install time
9+
jest.setTimeout((process.platform === 'win32' ? 240 : 180) * 1000)
10+
811
const testsFolder = path.join(__dirname, '..')
912

1013
let testFile

0 commit comments

Comments
 (0)