mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 07:52:39 +00:00
test: Add missing timeout_factor to zmq socket
Github-Pull: #34690 Rebased-From: fa48f8c8655d93e78b32b560a870577909b666d3
This commit is contained in:
parent
304250983e
commit
c17a5cd5f8
@ -174,7 +174,7 @@ class ZMQTest (BitcoinTestFramework):
|
||||
|
||||
# set subscriber's desired timeout for the test
|
||||
for sub in subscribers:
|
||||
sub.socket.set(zmq.RCVTIMEO, recv_timeout*1000)
|
||||
sub.socket.set(zmq.RCVTIMEO, int(recv_timeout * self.options.timeout_factor * 1000))
|
||||
|
||||
self.connect_nodes(0, 1)
|
||||
if sync_blocks:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user