Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4673)

Unified Diff: scripts/slave/recipe_modules/auto_bisect/bisector.py

Issue 1784593002: Removing build timeouts. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/bisector.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/bisector.py b/scripts/slave/recipe_modules/auto_bisect/bisector.py
index 34bce59c9899cf08a8863c06d36f69d7bf015579..955cc0efab3504e09dc38b5380e153ac0b3744a4 100644
--- a/scripts/slave/recipe_modules/auto_bisect/bisector.py
+++ b/scripts/slave/recipe_modules/auto_bisect/bisector.py
@@ -651,7 +651,6 @@ class Bisector(object):
def wait_for(self, revision):
"""Waits for any of the revisions in the list to finish its job(s)."""
with self.api.m.step.nest('Waiting for ' + revision.revision_string()):
- start_time = time.time()
while True:
revision.update_status()
if revision.in_progress:
@@ -663,10 +662,6 @@ class Bisector(object):
time.sleep(300)
sys.exit(0)
""")
- elapsed_time = time.time() - start_time
- if elapsed_time > 3 * 60 * 60: # pragma: no cover
- # Timed out waiting for build
- revision.status = revision.FAILED
else:
break
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698