Skip to content

Commit

Permalink
Update default test timeouts for yarn install times (#35669)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ijjk committed Mar 28, 2022
1 parent 3d5a9bf commit 6a4c70e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/lib/e2e-utils.ts
Expand Up @@ -5,6 +5,9 @@ import { InstallCommand, NextInstance, PackageJson } from './next-modes/base'
import { NextDevInstance } from './next-modes/next-dev'
import { NextStartInstance } from './next-modes/next-start'

// increase timeout to account for yarn install time
jest.setTimeout((process.platform === 'win32' ? 240 : 180) * 1000)

const testsFolder = path.join(__dirname, '..')

let testFile
Expand Down

0 comments on commit 6a4c70e

Please sign in to comment.