[qa] util: Move wait_bitcoinds() into stop_nodes()
This commit is contained in:
parent
6faffb8a83
commit
fa7c35c4ec
8 changed files with 12 additions and 23 deletions
qa/rpc-tests/test_framework
|
@ -21,7 +21,6 @@ from .util import (
|
|||
sync_mempools,
|
||||
stop_nodes,
|
||||
stop_node,
|
||||
wait_bitcoinds,
|
||||
enable_coverage,
|
||||
check_json_precision,
|
||||
initialize_chain_clean,
|
||||
|
@ -81,7 +80,6 @@ class BitcoinTestFramework(object):
|
|||
"""
|
||||
assert not self.is_network_split
|
||||
stop_nodes(self.nodes)
|
||||
wait_bitcoinds()
|
||||
self.setup_network(True)
|
||||
|
||||
def sync_all(self):
|
||||
|
@ -100,7 +98,6 @@ class BitcoinTestFramework(object):
|
|||
"""
|
||||
assert self.is_network_split
|
||||
stop_nodes(self.nodes)
|
||||
wait_bitcoinds()
|
||||
self.setup_network(False)
|
||||
|
||||
def main(self):
|
||||
|
@ -170,7 +167,6 @@ class BitcoinTestFramework(object):
|
|||
if not self.options.noshutdown:
|
||||
print("Stopping nodes")
|
||||
stop_nodes(self.nodes)
|
||||
wait_bitcoinds()
|
||||
else:
|
||||
print("Note: bitcoinds were not stopped and may still be running")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue