qa: Close stdout and stderr file when node stops

This commit is contained in:
MarcoFalke 2018-08-03 13:43:59 -04:00
parent 1ef57a96b8
commit fada8966c5
No known key found for this signature in database
GPG key ID: CE2B75697E69A548

View file

@ -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):