test: Set assert_debug_log timeout to 0

This commit is contained in:
MarcoFalke committed 2026-02-17 16:10:47 +01:00
1 parent 07b924775e
commit fa4cb96bde
13 files changed
+46 -35

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ class V2TransportTest(BitcoinTestFramework):
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
with self.nodes[0].wait_for_new_peer():
s.connect(("127.0.0.1", p2p_port(0)))
with self.nodes[0].assert_debug_log(["V2 transport error: V1 peer with wrong MessageStart"]):
with self.nodes[0].assert_debug_log(["V2 transport error: V1 peer with wrong MessageStart"], timeout=2):
s.sendall(wrong_network_magic_prefix + b"somepayload")
# Check detection of missing garbage terminator (hits after fixed amount of data if terminator never matches garbage)