Skip to content

Commit 46ff9f0

Browse files
Use non conflicting fixed port.
1 parent f86aace commit 46ff9f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/context-process-exit-test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe("context process exit", function() {
4444
const {stderr} = await createProcess(() => {
4545
zmq.context.blocky = true
4646
const socket1 = new zmq.Dealer({linger: 600})
47-
socket1.connect("tcp://127.0.0.1:6789")
47+
socket1.connect("tcp://127.0.0.1:4567")
4848
socket1.send(null)
4949
})
5050

@@ -66,7 +66,7 @@ describe("context process exit", function() {
6666
const {stderr} = await createProcess(() => {
6767
zmq.context.blocky = false
6868
const socket1 = new zmq.Dealer({linger: 600})
69-
socket1.connect("tcp://127.0.0.1:6789")
69+
socket1.connect("tcp://127.0.0.1:4567")
7070
socket1.send(null)
7171
})
7272

@@ -81,7 +81,7 @@ describe("context process exit", function() {
8181
const {stderr} = await createProcess(() => {
8282
zmq.context.blocky = true
8383
const socket1 = new zmq.Dealer({linger: 100})
84-
socket1.connect("tcp://127.0.0.1:6789")
84+
socket1.connect("tcp://127.0.0.1:4567")
8585
socket1.send(null)
8686
})
8787

0 commit comments

Comments
 (0)