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

This commit is contained in:
Suhas Daftuar 2018-04-06 10:53:35 -04:00
parent 1d540046fe
commit e36a0c0852
3 changed files with 17 additions and 0 deletions
test/functional/test_framework

View file

@ -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: