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 <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Akhil Marsonya <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
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

+1-1
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)