From fada8966c51b49bdb68549039cf67ddb4b44421c Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 3 Aug 2018 13:43:59 -0400 Subject: [PATCH] qa: Close stdout and stderr file when node stops --- test/functional/test_framework/test_node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index 8ae7677f3b2..81ca156f8c9 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):