diff options
author | Matt Kwong <mattkwong@google.com> | 2017-06-16 14:28:06 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2017-06-16 14:28:06 -0700 |
commit | 60a672b87f96aabec551d0d0e6e29b67dcc47d12 (patch) | |
tree | e6ebf26d84e0aba0ff25b76adb59fd932f37306e /tools/run_tests | |
parent | 8961a10ca1d1f31ec314d5df350ead53298d249f (diff) |
Clear alarms in jobset.py when finished running jobs
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/python_utils/jobset.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/run_tests/python_utils/jobset.py b/tools/run_tests/python_utils/jobset.py index b56cce1a50..044c6f3aa4 100755 --- a/tools/run_tests/python_utils/jobset.py +++ b/tools/run_tests/python_utils/jobset.py @@ -473,6 +473,8 @@ class Jobset(object): while self._running: if self.cancelled(): pass # poll cancellation self.reap() + if platform_string() != 'windows': + signal.alarm(0) return not self.cancelled() and self._failures == 0 |