test: Add missing timeout_factor to zmq socket

This commit is contained in:
MarcoFalke 2026-02-27 14:09:15 +01:00
parent 3a8b4e89f6
commit fa48f8c865
No known key found for this signature in database

View File

@ -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: