test: stress runners (#15078)

This commit is contained in:
Pavel Feldman 2022-06-23 15:55:12 -07:00 committed by GitHub
parent e5cf11cb68
commit 1ce1246a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ const config: Config<CoverageWorkerOptions & PlaywrightWorkerOptions & Playwrigh
maxFailures: 100,
timeout: video ? 60000 : 30000,
globalTimeout: 5400000,
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 2 : undefined,
fullyParallel: !process.env.CI,
forbidOnly: !!process.env.CI,
preserveOutput: process.env.CI ? 'failures-only' : 'always',

View File

@ -26,7 +26,7 @@ const config: Config = {
testIgnore: ['assets/**', 'stable-test-runner/**'],
timeout: 30000,
forbidOnly: !!process.env.CI,
workers: process.env.CI ? 1 : undefined,
workers: process.env.CI ? 2 : undefined,
preserveOutput: process.env.CI ? 'failures-only' : 'always',
projects: [
{