We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78b3697 commit 5ca8e14Copy full SHA for 5ca8e14
lib/internal/test_runner/test.js
@@ -43,7 +43,7 @@ const noop = FunctionPrototype;
43
const isTestRunner = getOptionValue('--test');
44
const testOnlyFlag = !isTestRunner && getOptionValue('--test-only');
45
// TODO(cjihrig): Use uv_available_parallelism() once it lands.
46
-const rootConcurrency = isTestRunner ? cpus().length : 1;
+const rootConcurrency = isTestRunner ? cpus().length - 1 : 1;
47
const subTestConcurrency = getOptionValue('--test-concurrency');
48
49
function testTimeout(promise, timeout) {
0 commit comments