diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-03 13:43:59 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-03 13:43:59 -0400 |
commit | fada8966c51b49bdb68549039cf67ddb4b44421c (patch) | |
tree | 506003f44186c670ea0189f9831e70d84c4567f8 /test/functional | |
parent | 1ef57a96b8b7255bd1f1ea0583846f18305419bf (diff) |
qa: Close stdout and stderr file when node stops
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/test_framework/test_node.py | 3 |
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): |