Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/bench/latency.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ test('throughput, 600 ms latency ± 100 ms jitter', async (t) => {
const udx = new UDX()

const aSocket = udx.createSocket()
aSocket.bind()
aSocket.bind(0, '127.0.0.1')

const bSocket = udx.createSocket()
bSocket.bind()
bSocket.bind(0, '127.0.0.1')

const a = udx.createStream(1)
const b = udx.createStream(2)
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = function proxy({ from, to, bind } = {}, drop) {
const u = new UDX()
const socket = u.createSocket()

socket.bind(bind || 0)
socket.bind(bind || 0, '127.0.0.1')

socket.on('message', function (buf, rinfo) {
const source = {
Expand Down
1 change: 1 addition & 0 deletions test/leaks.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
leak:js_add_finalizer
leak:js_create_function
leak:js_create_typed_function
leak:js_create_external
Expand Down
Loading