node/lib/internal/main
Colin Ihrig 4b2e258c76
test_runner,test: fix flaky test-runner-cli-concurrency.js
This test was flaky on Windows when trying to clean up the
tmp directory, probably because it relied on child processes
timing out and being killed.

This commit updates the test to check for debug output
from the test runner. This should be adequate because the
original change was effectively:

let concurrency = getOptionValue('--test-concurrency') || true;

The test runner now logs the value of the concurrency variable.

Fixes: https://github.com/nodejs/node/issues/50101
PR-URL: https://github.com/nodejs/node/pull/50108
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2023-11-27 11:57:21 +01:00
..
check_syntax.js esm: --experimental-default-type flag to flip module defaults 2023-11-23 10:51:31 +01:00
environment.js lib: enforce use of trailing commas 2023-04-10 22:18:20 -04:00
eval_stdin.js esm: --experimental-default-type flag to flip module defaults 2023-11-23 10:51:31 +01:00
eval_string.js esm: --experimental-default-type flag to flip module defaults 2023-11-23 10:51:31 +01:00
inspect.js lib: enforce use of trailing commas 2023-04-10 22:18:20 -04:00
mksnapshot.js sea: allow requiring core modules with the "node:" prefix 2023-11-10 14:40:32 +01:00
print_help.js lib: enforce use of trailing commas 2023-04-10 22:18:20 -04:00
prof_process.js lib: enforce use of trailing commas 2023-04-10 22:18:20 -04:00
repl.js lib: enforce use of trailing commas 2023-04-10 22:18:20 -04:00
run_main_module.js esm: bypass CommonJS loader under --default-type 2023-11-23 10:52:13 +01:00
single_executable_application.js sea: allow requiring core modules with the "node:" prefix 2023-11-10 14:40:32 +01:00
test_runner.js test_runner,test: fix flaky test-runner-cli-concurrency.js 2023-11-27 11:57:21 +01:00
watch_mode.js watch: decrease debounce rate 2023-10-28 12:24:50 +02:00
worker_thread.js loader: use default loader as cascaded loader in the in loader worker 2023-11-23 10:21:52 +01:00