Unverified Commit 6a4c70e0 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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: https://github.com/vercel/next.js/pull/35507#issuecomment-1074606737
x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1647919982840099)
parent 3d5a9bf5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment