mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-13 11:35:20 +01:00
qa: Avoid logging node stopping info when a test has 0 nodes
(This applies to the test in the parent commit).
This commit is contained in:
parent
7d994d0564
commit
c107aa8c87
1 changed files with 5 additions and 5 deletions
|
@ -323,11 +323,11 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
|||
|
||||
self.log.debug('Closing down network thread')
|
||||
self.network_thread.close()
|
||||
if self.success == TestStatus.FAILED:
|
||||
self.log.info("Not stopping nodes as test failed. The dangling processes will be cleaned up later.")
|
||||
else:
|
||||
self.log.info("Stopping nodes")
|
||||
if self.nodes:
|
||||
if self.nodes:
|
||||
if self.success == TestStatus.FAILED:
|
||||
self.log.info("Not stopping nodes as test failed. The dangling processes will be cleaned up later.")
|
||||
else:
|
||||
self.log.info("Stopping nodes")
|
||||
self.stop_nodes()
|
||||
|
||||
should_clean_up = (
|
||||
|
|
Loading…
Add table
Reference in a new issue