Skip to content

Commit e8612ad

Browse files
author
MarcoFalke
committed
Merge #15507: test: Bump timeout on tests that timeout on windows
fa852f0 test: Bump timeout on tests that timeout on windows (MarcoFalke) Pull request description: Those tests build a ton of blocks and time out for me on Windows with: ``` test_framework.authproxy.JSONRPCException: 'generatetoaddress' RPC took longer than 60.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344) Tree-SHA512: a8fffeaddd02c051fbcc04bfac69f6ed826b8f16616e3b2e210a469d07c3e5706baab8121f1cd7ed265481de3a6197cf371513e2afbe506cf13b1dabfe3a0005
2 parents 29c24b0 + fa852f0 commit e8612ad

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

test/functional/feature_assumevalid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def run_test(self):
180180
for i in range(2202):
181181
p2p1.send_message(msg_block(self.blocks[i]))
182182
# Syncing 2200 blocks can take a while on slow systems. Give it plenty of time to sync.
183-
p2p1.sync_with_ping(150)
183+
p2p1.sync_with_ping(200)
184184
assert_equal(self.nodes[1].getblock(self.nodes[1].getbestblockhash())['height'], 2202)
185185

186186
# Send blocks to node2. Block 102 will be rejected.

test/functional/feature_cltv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def set_test_params(self):
6060
self.num_nodes = 1
6161
self.extra_args = [['-whitelist=127.0.0.1', '-par=1']] # Use only one script thread to get the exact reject reason for testing
6262
self.setup_clean_chain = True
63+
self.rpc_timeout = 120
6364

6465
def skip_test_if_missing_module(self):
6566
self.skip_if_no_wallet()

test/functional/feature_dersig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def set_test_params(self):
4747
self.num_nodes = 1
4848
self.extra_args = [['-whitelist=127.0.0.1', '-par=1', '-enablebip61']] # Use only one script thread to get the exact reject reason for testing
4949
self.setup_clean_chain = True
50+
self.rpc_timeout = 120
5051

5152
def skip_test_if_missing_module(self):
5253
self.skip_if_no_wallet()

0 commit comments

Comments
 (0)