Skip to content

Commit

Permalink
test: fix address in use error
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
everett1992 authored and danielleadams committed Jun 14, 2022
1 parent 64edd6c commit 71802c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-domain-dep0097.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ process.on('warning', common.mustCall((warning) => {
}));

domain.create().run(() => {
inspector.open();
inspector.open(0);
});

0 comments on commit 71802c3

Please sign in to comment.