Skip to content

Commit e34c30c

Browse files
committed
test: increase timeout in the debugger tests on Windows
1 parent 6566307 commit e34c30c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/common/debugger.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@ const BREAK_MESSAGE = new RegExp('(?:' + [
77
'exception', 'other', 'promiseRejection',
88
].join('|') + ') in', 'i');
99

10-
const TIMEOUT = common.platformTimeout(5000);
10+
let TIMEOUT = common.platformTimeout(5000);
11+
if (common.isWindows) {
12+
// Some of the windows machines in the CI need more time to receive
13+
// the outputs from the client.
14+
// https://github.com/nodejs/build/issues/3014
15+
TIMEOUT = common.platformTimeout(15000);
16+
}
1117

1218
function isPreBreak(output) {
1319
return /Break on start/.test(output) && /1 \(function \(exports/.test(output);

0 commit comments

Comments
 (0)