[qa] Ensure bitcoind processes are cleaned up when tests end

This commit is contained in:
Suhas Daftuar committed 2018-04-08 10:47:31 -04:00
1 parent 1d540046fe
commit e36a0c0852
3 files changed
+17

No files matched your search

@@ -148,6 +148,8 @@ class BitcoinTestFramework():
if self.nodes:
self.stop_nodes()
else:
for node in self.nodes:
node.cleanup_on_exit = False
self.log.info("Note: bitcoinds were not stopped and may still be running")
if not self.options.nocleanup and not self.options.noshutdown and success != TestStatus.FAILED: