diff options
| author | MarcoFalke <[email protected]> | 2018-08-03 13:43:59 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-08-03 13:43:59 -0400 |
| commit | fada8966c51b49bdb68549039cf67ddb4b44421c (patch) | |
| tree | 506003f44186c670ea0189f9831e70d84c4567f8 | |
| parent | Merge #13255: trivial: Fixed typos and cleaned up language (diff) | |
| download | discoin-fada8966c51b49bdb68549039cf67ddb4b44421c.tar.xz discoin-fada8966c51b49bdb68549039cf67ddb4b44421c.zip | |
qa: Close stdout and stderr file when node stops
| -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 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): |