Skip to content

Commit 4b00bba

Browse files
authored
fix(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
1 parent 4a3ba87 commit 4b00bba

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)