mirror of https://github.com/coder/code-server.git
fix(e2e): use one worker to reduce flakiness
This commit is contained in:
parent
17f4c4c330
commit
7309ea9d10
|
@ -52,6 +52,7 @@ const config: Config = {
|
||||||
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.
|
||||||
timeout: 60000, // Each test is given 60 seconds.
|
timeout: 60000, // Each test is given 60 seconds.
|
||||||
retries: 3, // Retry failing tests 2 times
|
retries: 3, // Retry failing tests 2 times
|
||||||
|
workers: 1,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.CI) {
|
if (process.env.CI) {
|
||||||
|
|
Loading…
Reference in New Issue