aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_help.py
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2018-04-06 10:53:35 -0400
committerSuhas Daftuar <[email protected]>2018-04-08 10:47:31 -0400
commite36a0c08529bccc695ec71a7ec1df89367cc1628 (patch)
tree7b33d7c1aac9c7d4c1efc4e1f52d02c1e013e12d /test/functional/feature_help.py
parentMerge #12870: make clean removes src/qt/moc_ files (diff)
downloaddiscoin-e36a0c08529bccc695ec71a7ec1df89367cc1628.tar.xz
discoin-e36a0c08529bccc695ec71a7ec1df89367cc1628.zip
[qa] Ensure bitcoind processes are cleaned up when tests end
Diffstat (limited to 'test/functional/feature_help.py')
-rwxr-xr-xtest/functional/feature_help.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/feature_help.py b/test/functional/feature_help.py
index 1e62d7a40..fd4a72f62 100755
--- a/test/functional/feature_help.py
+++ b/test/functional/feature_help.py
@@ -36,7 +36,11 @@ class HelpTest(BitcoinTestFramework):
output = self.nodes[0].process.stdout.read()
assert b'version' in output
self.log.info("Version text received: {} (...)".format(output[0:60]))
+ # Clean up TestNode state
self.nodes[0].running = False
+ self.nodes[0].process = None
+ self.nodes[0].rpc_connected = False
+ self.nodes[0].rpc = None
if __name__ == '__main__':
HelpTest().main()