mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-04 07:33:18 +00:00
test(server): serialize Windows suites that compete for Git processes
This commit is contained in:
@@ -19,9 +19,9 @@ export default defineConfig({
|
||||
setupFiles: [path.resolve(__dirname, "./src/test-utils/vitest-setup.ts")],
|
||||
pool: "forks",
|
||||
fileParallelism: false,
|
||||
// Windows runners intermittently starve subprocess-heavy Git tests at the
|
||||
// default worker count, leaving child processes alive past their deadlines.
|
||||
maxWorkers: process.platform === "win32" ? 2 : undefined,
|
||||
// Even two concurrent Git-heavy suites can exhaust Windows test deadlines.
|
||||
// Run files serially so their subprocesses do not compete across suites.
|
||||
maxWorkers: process.platform === "win32" ? 1 : undefined,
|
||||
exclude: ["**/node_modules/**", "**/dist/**", "**/.claude/**", "**/.dev/**"],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user