aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-06-16 14:28:06 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-06-16 14:28:06 -0700
commit60a672b87f96aabec551d0d0e6e29b67dcc47d12 (patch)
treee6ebf26d84e0aba0ff25b76adb59fd932f37306e /tools
parent8961a10ca1d1f31ec314d5df350ead53298d249f (diff)
Clear alarms in jobset.py when finished running jobs
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/python_utils/jobset.py2
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