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

+2 -2
View File
@@ -592,7 +592,7 @@ class CompactBlocksTest(BitcoinTestFramework):
# Send the same blocktxn and assert the sender gets disconnected.
with node.assert_debug_log(['previous compact block reconstruction attempt failed']):
test_node.send_without_ping(msg)
test_node.wait_for_disconnect()
test_node.wait_for_disconnect()
def test_getblocktxn_handler(self, test_node):
node = self.nodes[0]
@@ -642,7 +642,7 @@ class CompactBlocksTest(BitcoinTestFramework):
msg.block_txn_request = BlockTransactionsRequest(int(block_hash, 16), [len(block.vtx)])
with node.assert_debug_log(['getblocktxn with out-of-bounds tx indices']):
bad_peer.send_without_ping(msg)
bad_peer.wait_for_disconnect()
bad_peer.wait_for_disconnect()
def test_low_work_compactblocks(self, test_node):
# A compactblock with insufficient work won't get its header included