mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-14 12:10:42 +02:00
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.
This commit is contained in:
parent
660bdbf785
commit
60978c8080
@ -19,7 +19,6 @@ class AbortNodeTest(BitcoinTestFramework):
|
|||||||
def set_test_params(self):
|
def set_test_params(self):
|
||||||
self.setup_clean_chain = True
|
self.setup_clean_chain = True
|
||||||
self.num_nodes = 2
|
self.num_nodes = 2
|
||||||
self.rpc_timeout = 240
|
|
||||||
|
|
||||||
def setup_network(self):
|
def setup_network(self):
|
||||||
self.setup_nodes()
|
self.setup_nodes()
|
||||||
@ -41,7 +40,7 @@ class AbortNodeTest(BitcoinTestFramework):
|
|||||||
|
|
||||||
# Check that node0 aborted
|
# Check that node0 aborted
|
||||||
self.log.info("Waiting for crash")
|
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.log.info("Node crashed - now verifying restart fails")
|
||||||
self.nodes[0].assert_start_raises_init_error()
|
self.nodes[0].assert_start_raises_init_error()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user