qa: Close stdout and stderr file when node stops
This commit is contained in:
parent
1ef57a96b8
commit
fada8966c5
1 changed files with 3 additions and 0 deletions
|
@ -200,6 +200,9 @@ class TestNode():
|
||||||
if stderr != expected_stderr:
|
if stderr != expected_stderr:
|
||||||
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
|
raise AssertionError("Unexpected stderr {} != {}".format(stderr, expected_stderr))
|
||||||
|
|
||||||
|
self.stdout.close()
|
||||||
|
self.stderr.close()
|
||||||
|
|
||||||
del self.p2ps[:]
|
del self.p2ps[:]
|
||||||
|
|
||||||
def is_node_stopped(self):
|
def is_node_stopped(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue