Skip to content

Commit dc0b0d6

Browse files
committed
fix(test): reduce concurrency in E2E testing in CI
It seems the flakiness was a result of the browser processes getting OOM-killed, and the harness not doing a great job of detecting or at least alerting about that fact.
1 parent 7f6def4 commit dc0b0d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wdio.shared.conf.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ export const config: Options.Testrunner = {
3232
// ============
3333
// Capabilities
3434
// ============
35-
maxInstances: 3,
35+
// Limit the number of browser instances to 1 in CI to avoid memory limits
36+
maxInstances: process.env.CI ? 1 : 3,
3637
//
3738
// ===================
3839
// Test Configurations

0 commit comments

Comments
 (0)