mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-02 01:36:13 +00:00
test: Add missing timeout_factor to zmq socket
This commit is contained in:
parent
3a8b4e89f6
commit
fa48f8c865
@ -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