diff --git a/tests/utils.py b/tests/utils.py index 016b880a5..3f21c8e73 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -100,6 +100,7 @@ class TailableProc(object): logging.debug("%s: %s", self.prefix, line.decode().rstrip()) self.logs_cond.notifyAll() self.running = False + self.proc.stdout.close() def is_in_log(self, regex): """Look for `regex` in the logs."""