Skip to content
6 changes: 4 additions & 2 deletions test/parallel/test-cluster-dgram-reuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ function close() {
cluster.worker.disconnect();
}

for (let i = 0; i < 2; i++)
dgram.createSocket({ type: 'udp4', reuseAddr: true }).bind(0, next);
const socket = dgram.createSocket({type:'udp4', reuseAddr: true})
.bind(0, common.mustCall(()=>{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this pass make lint?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit 7db0f60 Passes lint. Did not realize that my linter was misconfigured in my current workspace. Thanks for this catch!

socket.bind(address().port);
}));