aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-08-03 13:43:59 -0400
committerMarcoFalke <[email protected]>2018-08-03 13:43:59 -0400
commitfada8966c51b49bdb68549039cf67ddb4b44421c (patch)
tree506003f44186c670ea0189f9831e70d84c4567f8
parentMerge #13255: trivial: Fixed typos and cleaned up language (diff)
downloaddiscoin-fada8966c51b49bdb68549039cf67ddb4b44421c.tar.xz
discoin-fada8966c51b49bdb68549039cf67ddb4b44421c.zip
qa: Close stdout and stderr file when node stops
-rwxr-xr-xtest/functional/test_framework/test_node.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index 8ae7677f3..81ca156f8 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -200,6 +200,9 @@ class TestNode():
if stderr != expected_stderr:
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
+ self.stdout.close()
+ self.stderr.close()
+
del self.p2ps[:]
def is_node_stopped(self):