Skip to content

Commit 35381c0

Browse files
committed
chore(e2e): use 1 worker for e2e test
I don't know if it's a resources issue, playwright, or code-server but it seems like the e2e tests choke when multiple workers are used. This change is okay because our CI runner only has 2 cores so it would only use 1 worker anyway, but by specifying it in our playwright config, we ensure more stability in our e2e tests working correctly. See these PRs: - #3263 - #4310
1 parent 1e64920 commit 35381c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/playwright.config.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const config: PlaywrightTestConfig = {
77
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
88
timeout: 60000, // Each test is given 60 seconds.
99
retries: process.env.CI ? 2 : 1, // Retry in CI due to flakiness.
10+
workers: 1,
1011
globalSetup: require.resolve("./utils/globalSetup.ts"),
1112
reporter: "list",
1213
// Put any shared options on the top level.

0 commit comments

Comments
 (0)