Skip to content

Commit cd685fe

Browse files
lpincanodejs-github-bot
authored andcommitted
test: deflake test-config-file
Port 9229 may already be used by another process. Use a random available one. PR-URL: #58799 Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Pietro Marchini <[email protected]> Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Edy Silva <[email protected]> Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Stefan Stojanovic <[email protected]>
1 parent ac540c0 commit cd685fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-config-file.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ test('--inspect=true should be parsed correctly', { skip: !process.features.insp
239239
'--no-warnings',
240240
'--experimental-config-file',
241241
fixtures.path('rc/inspect-true.json'),
242+
'--inspect-port', '0',
242243
'-p', 'require("node:inspector").url()',
243244
]);
244245
match(result.stderr, /^Debugger listening on (ws:\/\/[^\s]+)/);

0 commit comments

Comments
 (0)