mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: use random port in test-inspector-debug-brk-flag
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 <yagiz@nizipli.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
a2e4643981
commit
e97ceeca69
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user