Skip to content

Commit 60978c8

Browse files
committed
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.
1 parent 660bdbf commit 60978c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/functional/feature_abortnode.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ class AbortNodeTest(BitcoinTestFramework):
1919
def set_test_params(self):
2020
self.setup_clean_chain = True
2121
self.num_nodes = 2
22-
self.rpc_timeout = 240
2322

2423
def setup_network(self):
2524
self.setup_nodes()
@@ -41,7 +40,7 @@ def run_test(self):
4140

4241
# Check that node0 aborted
4342
self.log.info("Waiting for crash")
44-
self.nodes[0].wait_until_stopped(timeout=200)
43+
self.nodes[0].wait_until_stopped(timeout=5)
4544
self.log.info("Node crashed - now verifying restart fails")
4645
self.nodes[0].assert_start_raises_init_error()
4746

0 commit comments

Comments
 (0)