Skip to content

Commit fa952fa

Browse files
author
MarcoFalke
committed
test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork
1 parent a8c1ea5 commit fa952fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/functional/p2p_headers_sync_with_minchainwork.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
class RejectLowDifficultyHeadersTest(BitcoinTestFramework):
2929
def set_test_params(self):
30+
self.rpc_timeout *= 4 # To avoid timeout when generating BLOCKS_TO_MINE
3031
self.setup_clean_chain = True
3132
self.num_nodes = 4
3233
# Node0 has no required chainwork; node1 requires 15 blocks on top of the genesis block; node2 requires 2047

0 commit comments

Comments
 (0)