From 60978c8080ec13ff4571c8a89e742517b2aca692 Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Thu, 5 Jan 2023 12:56:19 +0100 Subject: [PATCH] test: Reduce extended timeout on abortnode test This was made obsolete by tracking the active requests and explicitly waiting for them to finish before shutdown. --- test/functional/feature_abortnode.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/feature_abortnode.py b/test/functional/feature_abortnode.py index 32cf4a47f48..fa1bb6506ab 100755 --- a/test/functional/feature_abortnode.py +++ b/test/functional/feature_abortnode.py @@ -19,7 +19,6 @@ class AbortNodeTest(BitcoinTestFramework): def set_test_params(self): self.setup_clean_chain = True self.num_nodes = 2 - self.rpc_timeout = 240 def setup_network(self): self.setup_nodes() @@ -41,7 +40,7 @@ class AbortNodeTest(BitcoinTestFramework): # Check that node0 aborted self.log.info("Waiting for crash") - self.nodes[0].wait_until_stopped(timeout=200) + self.nodes[0].wait_until_stopped(timeout=5) self.log.info("Node crashed - now verifying restart fails") self.nodes[0].assert_start_raises_init_error()