Skip to content

Commit fa48f8c

Browse files
author
MarcoFalke
committed
test: Add missing timeout_factor to zmq socket
1 parent 3a8b4e8 commit fa48f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/interface_zmq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def setup_zmq_test(self, services, *, recv_timeout=60, sync_blocks=True, ipv6=Fa
174174

175175
# set subscriber's desired timeout for the test
176176
for sub in subscribers:
177-
sub.socket.set(zmq.RCVTIMEO, recv_timeout*1000)
177+
sub.socket.set(zmq.RCVTIMEO, int(recv_timeout * self.options.timeout_factor * 1000))
178178

179179
self.connect_nodes(0, 1)
180180
if sync_blocks:

0 commit comments

Comments
 (0)