Skip to content

Commit

Permalink
Fix udx tests: bind to 0.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HDegroote committed Jan 2, 2025
1 parent 57652d8 commit 96c28ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ function udxPair (getOpts = () => ({})) {
const u = new UDX()
const socket1 = u.createSocket()
const socket2 = u.createSocket()
for (const s of [socket1, socket2]) s.bind()
for (const s of [socket1, socket2]) s.bind(0, '0.0.0.0')

const stream1 = u.createStream(1)
const stream2 = u.createStream(2)
Expand Down

0 comments on commit 96c28ea

Please sign in to comment.