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
  • Loading branch information
everett1992 authored and Caleb ツ Everett committed May 24, 2022
1 parent 4a3ba87 commit 16aba34
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 16aba34

Please sign in to comment.