mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
test: Set assert_debug_log timeout to 0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user