Skip to content

Commit c31b790

Browse files
committed
test: extend debugger startup timeout on macOS
Debugger tests spawn a debugger client and target process, then wait for asynchronous CLI output through a shared test helper.Under high parallel load on macOS, process scheduling and inspector communication can delay progress beyond the existing 15-second timeout, causing intermittent failures across multiple debugger tests. Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com>
1 parent 2cc24e5 commit c31b790

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎test/common/debugger.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ const BREAK_MESSAGE = new RegExp('(?:' + [
1010
let TIMEOUT = common.platformTimeout(10000);
1111
// Some macOS and Windows machines require more time to receive the outputs from the client.
1212
// https://github.com/nodejs/build/issues/3014
13-
if (common.isWindows || common.isMacOS) {
13+
if (common.isMacOS) {
14+
TIMEOUT = common.platformTimeout(30000);
15+
} else if (common.isWindows) {
1416
TIMEOUT = common.platformTimeout(15000);
1517
}
1618

0 commit comments

Comments
 (0)