mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-23 07:52:46 +02:00
test: Bump timeout to run tests in travis thread sanitizer
This commit is contained in:
@@ -1181,7 +1181,7 @@ class FullBlockTest(BitcoinTestFramework):
|
||||
self.save_spendable_output()
|
||||
spend = self.get_spendable_output()
|
||||
|
||||
self.sync_blocks(blocks, True, timeout=180)
|
||||
self.sync_blocks(blocks, True, timeout=480)
|
||||
chain1_tip = i
|
||||
|
||||
# now create alt chain of same length
|
||||
@@ -1193,14 +1193,14 @@ class FullBlockTest(BitcoinTestFramework):
|
||||
|
||||
# extend alt chain to trigger re-org
|
||||
block = self.next_block("alt" + str(chain1_tip + 1))
|
||||
self.sync_blocks([block], True, timeout=180)
|
||||
self.sync_blocks([block], True, timeout=480)
|
||||
|
||||
# ... and re-org back to the first chain
|
||||
self.move_tip(chain1_tip)
|
||||
block = self.next_block(chain1_tip + 1)
|
||||
self.sync_blocks([block], False, force_send=True)
|
||||
block = self.next_block(chain1_tip + 2)
|
||||
self.sync_blocks([block], True, timeout=180)
|
||||
self.sync_blocks([block], True, timeout=480)
|
||||
|
||||
# Helper methods
|
||||
################
|
||||
|
Reference in New Issue
Block a user