aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-23 16:55:29 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-01-23 16:35:13 +0100
commitfa952fad2fca833357e61a7bb8c76c2877b522f9 (patch)
treea678f2f56997ab819306f435a9176f550d95f011
parenta8c1ea50c74fc2b9e34e18cac0b15399b89b9662 (diff)
test: Avoid rpc timeout in p2p_headers_sync_with_minchainwork
-rwxr-xr-xtest/functional/p2p_headers_sync_with_minchainwork.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/p2p_headers_sync_with_minchainwork.py b/test/functional/p2p_headers_sync_with_minchainwork.py
index b07077c668..832fd7e0e9 100755
--- a/test/functional/p2p_headers_sync_with_minchainwork.py
+++ b/test/functional/p2p_headers_sync_with_minchainwork.py
@@ -27,6 +27,7 @@ NODE2_BLOCKS_REQUIRED = 2047
class RejectLowDifficultyHeadersTest(BitcoinTestFramework):
def set_test_params(self):
+ self.rpc_timeout *= 4 # To avoid timeout when generating BLOCKS_TO_MINE
self.setup_clean_chain = True
self.num_nodes = 4
# Node0 has no required chainwork; node1 requires 15 blocks on top of the genesis block; node2 requires 2047