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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy