Skip to content

Commit

Permalink
test: Bump timeouts to accomodate really slow disks
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Mar 2, 2020
1 parent ac5c5d0 commit fa6df0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/functional/feature_block.py
Expand Up @@ -1261,7 +1261,7 @@ def run_test(self):
self.save_spendable_output()
spend = self.get_spendable_output()

self.send_blocks(blocks, True, timeout=960)
self.send_blocks(blocks, True, timeout=1920)
chain1_tip = i

# now create alt chain of same length
Expand All @@ -1273,14 +1273,14 @@ def run_test(self):

# extend alt chain to trigger re-org
block = self.next_block("alt" + str(chain1_tip + 1), version=4)
self.send_blocks([block], True, timeout=960)
self.send_blocks([block], True, timeout=1920)

# ... and re-org back to the first chain
self.move_tip(chain1_tip)
block = self.next_block(chain1_tip + 1, version=4)
self.send_blocks([block], False, force_send=True)
block = self.next_block(chain1_tip + 2, version=4)
self.send_blocks([block], True, timeout=960)
self.send_blocks([block], True, timeout=1920)

self.log.info("Reject a block with an invalid block header version")
b_v1 = self.next_block('b_v1', version=1)
Expand Down
2 changes: 1 addition & 1 deletion test/fuzz/test_runner.py
Expand Up @@ -134,7 +134,7 @@ def main():
os.path.join(config["environment"]["BUILDDIR"], 'src', 'test', 'fuzz', test_list_selection[0]),
'-help=1',
],
timeout=10,
timeout=20,
check=True,
stderr=subprocess.PIPE,
universal_newlines=True,
Expand Down

0 comments on commit fa6df0d

Please sign in to comment.