Skip to content

Commit

Permalink
qa: Close stdout and stderr file when node stops
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Aug 3, 2018
1 parent 1ef57a9 commit fada896
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/functional/test_framework/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ def stop_node(self, expected_stderr=''):
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):
Expand Down

0 comments on commit fada896

Please sign in to comment.