Skip to content

Commit 0725064

Browse files
LiviaMedeirostargos
authored andcommitted
test: fix port in net-perf_hooks
PR-URL: #42761 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 48bbb73 commit 0725064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-net-perf_hooks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ obs.observe({ type: 'net' });
2222
socket.destroy();
2323
}));
2424

25-
server.listen(8080, common.mustCall(async () => {
25+
server.listen(0, common.mustCall(async () => {
2626
await new Promise((resolve, reject) => {
2727
const socket = net.connect(server.address().port);
2828
socket.on('end', resolve);

0 commit comments

Comments
 (0)