From 5cc302c299b22b0039b4e9bdd3f93466b4f55978 Mon Sep 17 00:00:00 2001 From: Naviabheeman Date: Tue, 3 Dec 2024 13:57:42 +0530 Subject: [PATCH] increase timeout in functional to check whether debug mode fauntional test failure can be resolved --- test/functional/test_framework/test_framework.py | 2 +- test/functional/test_framework/test_node.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 7fa95a760f..f19584628d 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -94,7 +94,7 @@ def __init__(self): self.nodes = [] self.network_thread = None self.mocktime = 0 - self.rpc_timewait = 60 # Wait for up to 60 seconds for the RPC server to respond + self.rpc_timewait = 90 # Wait for up to 60 seconds for the RPC server to respond self.supports_cli = False self.bind_to_localhost_only = True self.signblockpubkey = "025700236c2890233592fcef262f4520d22af9160e3d9705855140eb2aa06c35d3" diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index c7fdf554c8..655d0e54b1 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -34,7 +34,7 @@ # For Python 3.4 compatibility JSONDecodeError = getattr(json, "JSONDecodeError", ValueError) -BITCOIND_PROC_WAIT_TIMEOUT = 60 +BITCOIND_PROC_WAIT_TIMEOUT = 90 class FailedToStartError(Exception): """Raised when a node fails to start correctly."""