aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/test_framework.py
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2018-04-06 10:53:35 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2018-04-08 10:47:31 -0400
commite36a0c08529bccc695ec71a7ec1df89367cc1628 (patch)
tree7b33d7c1aac9c7d4c1efc4e1f52d02c1e013e12d /test/functional/test_framework/test_framework.py
parent1d540046fe47eb7b6062c55ebebd801ece96231c (diff)
downloadbitcoin-e36a0c08529bccc695ec71a7ec1df89367cc1628.tar.xz
[qa] Ensure bitcoind processes are cleaned up when tests end
Diffstat (limited to 'test/functional/test_framework/test_framework.py')
-rwxr-xr-xtest/functional/test_framework/test_framework.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py
index d427f62856..1a71796e91 100755
--- a/test/functional/test_framework/test_framework.py
+++ b/test/functional/test_framework/test_framework.py
@@ -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: