diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-15 08:39:17 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-15 08:39:17 -0700 |
commit | f09957bd04a8bb54d220e8ecebb393931624a48b (patch) | |
tree | 7701f6a3967207c00b52445189b24fcadb9cd495 /tools/run_tests | |
parent | 9d5d803bbf3e783cd12304d3aefa07eec6584f41 (diff) |
Recover from more EINTRs
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/python_utils/jobset.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/python_utils/jobset.py b/tools/run_tests/python_utils/jobset.py index 27c6a6f622..3754035308 100755 --- a/tools/run_tests/python_utils/jobset.py +++ b/tools/run_tests/python_utils/jobset.py @@ -294,7 +294,7 @@ class Job(object): def state(self): """Poll current state of the job. Prints messages at completion.""" def stdout(self=self): - stdout = eintr_be_gone(lambda: read_from_start(self._tempfile)) + stdout = read_from_start(self._tempfile) self.result.message = stdout[-_MAX_RESULT_SIZE:] return stdout if self._state == _RUNNING and self._process.poll() is not None: @@ -430,7 +430,7 @@ class Jobset(object): while self._running: dead = set() for job in self._running: - st = job.state() + st = eintr_be_gone(lambda: job.state()) if st == _RUNNING: continue if st == _FAILURE or st == _KILLED: self._failures += 1 |