aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Matt Kwong <matt-kwong@users.noreply.github.com>2017-06-16 18:26:09 -0700
committerGravatar GitHub <noreply@github.com>2017-06-16 18:26:09 -0700
commitaef21c288a24b8f992006d1c29be5e5ace450c62 (patch)
tree3480428adb1b1a79d46309f4bacc8cb7e465796d
parent5678ac0c8e4a0d30f28e88712302c098cbe5097c (diff)
parent60a672b87f96aabec551d0d0e6e29b67dcc47d12 (diff)
Merge pull request #11520 from matt-kwong/remove_warning
Clear alarms in jobset.py when finished running jobs
-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