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

Unified Diff: appengine/chromium_try_flakes/handlers/flake_issues.py

Issue 2134193002: Remove codesite bug tracker support from builder_alerts and chromium-try-flakes (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Update tests Created 4 years, 5 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 | appengine/chromium_try_flakes/handlers/test/flake_issues_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_try_flakes/handlers/flake_issues.py
diff --git a/appengine/chromium_try_flakes/handlers/flake_issues.py b/appengine/chromium_try_flakes/handlers/flake_issues.py
index 21d14783be46bd7466b6e71e794c1f66681c86d1..a5fb523cd8d9ed8fa19d1c86bde911ae0e8276f4 100644
--- a/appengine/chromium_try_flakes/handlers/flake_issues.py
+++ b/appengine/chromium_try_flakes/handlers/flake_issues.py
@@ -29,7 +29,6 @@ MAX_UPDATED_ISSUES_PER_DAY = 10
MAX_TIME_DIFFERENCE_SECONDS = 12 * 60 * 60
MIN_REQUIRED_FLAKY_RUNS = 3
DAYS_TILL_STALE = 30
-USE_MONORAIL = True
DAYS_TO_REOPEN_ISSUE = 3
MAX_INDIVIDUAL_FLAKES_PER_STEP = 50
FLAKY_RUNS_TEMPLATE = (
@@ -287,8 +286,7 @@ class ProcessIssue(webapp2.RequestHandler):
@ndb.transactional(xg=True) # pylint: disable=E1120
def post(self, urlsafe_key):
- api = issue_tracker_api.IssueTrackerAPI(
- 'chromium', use_monorail=USE_MONORAIL)
+ api = issue_tracker_api.IssueTrackerAPI('chromium')
# Check if we should stop processing this issue because we've posted too
# many updates to issue tracker today already.
@@ -352,8 +350,7 @@ class UpdateIfStaleIssue(webapp2.RequestHandler):
not being processed despite being in the appropriate queue.
"""
issue_id = int(issue_id)
- api = issue_tracker_api.IssueTrackerAPI(
- 'chromium', use_monorail=USE_MONORAIL)
+ api = issue_tracker_api.IssueTrackerAPI('chromium')
flake_issue = api.getIssue(issue_id)
now = datetime.datetime.utcnow()
« no previous file with comments | « no previous file | appengine/chromium_try_flakes/handlers/test/flake_issues_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698