Skip to content

Commit 71802c3

Browse files
everett1992danielleadams
authored andcommitted
test: fix address in use error
test-domain-dep0097.js was sporadically failing because it is a parallel test and uses opens a default inspector port. This commit changes to bind to a random free port PR-URL: #43199 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent 64edd6c commit 71802c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-domain-dep0097.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ process.on('warning', common.mustCall((warning) => {
1313
}));
1414

1515
domain.create().run(() => {
16-
inspector.open();
16+
inspector.open(0);
1717
});

0 commit comments

Comments
 (0)