mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-23 10:42:43 +02:00
test: Bump timeouts to avoid valgrind failures
This commit is contained in:
@@ -76,7 +76,7 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
|
||||
spend_101_id = self.nodes[0].sendrawtransaction(spend_101_raw)
|
||||
spend_102_1_id = self.nodes[0].sendrawtransaction(spend_102_1_raw)
|
||||
|
||||
self.sync_all(timeout=360)
|
||||
self.sync_all(timeout=720)
|
||||
|
||||
assert_equal(set(self.nodes[0].getrawmempool()), {spend_101_id, spend_102_1_id, timelock_tx_id})
|
||||
|
||||
@@ -91,10 +91,11 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
|
||||
for node in self.nodes:
|
||||
node.invalidateblock(new_blocks[0])
|
||||
|
||||
self.sync_all(timeout=360)
|
||||
self.sync_all(timeout=720)
|
||||
|
||||
# mempool should be empty.
|
||||
assert_equal(set(self.nodes[0].getrawmempool()), set())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
MempoolCoinbaseTest().main()
|
||||
|
Reference in New Issue
Block a user