From e97ceeca6952edc589869d7e7bfba82caae64345 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 5 Apr 2023 01:20:49 +0200 Subject: [PATCH] test: use random port in test-inspector-debug-brk-flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Which makes it possible to run it in parallel. PR-URL: https://github.com/nodejs/node/pull/47412 Refs: https://github.com/nodejs/node/issues/47146 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- test/sequential/test-inspector-debug-brk-flag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-inspector-debug-brk-flag.js b/test/sequential/test-inspector-debug-brk-flag.js index db235326e96ff9..fd524b6918acd7 100644 --- a/test/sequential/test-inspector-debug-brk-flag.js +++ b/test/sequential/test-inspector-debug-brk-flag.js @@ -27,7 +27,7 @@ async function testBreakpointOnStart(session) { } async function runTests() { - const child = new NodeInstance(['--inspect', '--inspect-brk']); + const child = new NodeInstance(['--inspect-brk=0']); const session = await child.connectInspectorSession(); await testBreakpointOnStart(session);