mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
fix(test): bound boundary worker pressure
This commit is contained in:
1 parent
3c42403b78
commit
935721df10
1 file changed
+4
-3
+4
-3
@@ -29,7 +29,7 @@ export const TEST_PROJECTS = [
|
||||
"src/{artifacts,browser,dotnet,ghidra,hopper,native,process,reference,replay}/**/*.test.ts",
|
||||
],
|
||||
pool: "forks" as const,
|
||||
maxWorkers: MAX_TEST_WORKERS,
|
||||
maxWorkers: Math.min(2, MAX_TEST_WORKERS),
|
||||
},
|
||||
{
|
||||
name: "composition",
|
||||
@@ -41,7 +41,7 @@ export const TEST_PROJECTS = [
|
||||
name: "boundary",
|
||||
include: ["tests/boundary/**/*.test.ts"],
|
||||
pool: "forks" as const,
|
||||
maxWorkers: MAX_TEST_WORKERS,
|
||||
maxWorkers: Math.min(2, MAX_TEST_WORKERS),
|
||||
},
|
||||
{
|
||||
name: "acceptance",
|
||||
@@ -53,6 +53,7 @@ export const TEST_PROJECTS = [
|
||||
name: "process-global",
|
||||
include: ["tests/process-global/**/*.test.ts"],
|
||||
pool: "forks" as const,
|
||||
maxWorkers: 1,
|
||||
fileParallelism: false,
|
||||
},
|
||||
{
|
||||
@@ -84,7 +85,7 @@ export default defineConfig({
|
||||
// Boundary projects may compete with TypeScript, docs, and package checks
|
||||
// under Turbo. Keep the deadline bounded while avoiding false failures from
|
||||
// host-level CPU and filesystem contention.
|
||||
testTimeout: COVERAGE_ENABLED ? 30_000 : 15_000,
|
||||
testTimeout: COVERAGE_ENABLED ? 60_000 : 30_000,
|
||||
coverage: {
|
||||
enabled: false,
|
||||
provider: "v8",
|
||||
|
||||
Reference in new issue
Block a user