aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-03 13:43:59 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-03 13:43:59 -0400
commitfada8966c51b49bdb68549039cf67ddb4b44421c (patch)
tree506003f44186c670ea0189f9831e70d84c4567f8 /test
parent1ef57a96b8b7255bd1f1ea0583846f18305419bf (diff)
qa: Close stdout and stderr file when node stops
Diffstat (limited to 'test')
-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 8ae7677f3b..81ca156f8c 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):