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

Unified Diff: appengine/findit/handlers/flake/check_flake.py

Issue 2376573004: [Findit] For automatic analyses of flaky tests, run the Swarming tasks off PST peak hours. (Closed)
Patch Set: Fix nit. Created 4 years, 2 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 | « appengine/findit/common/time_util.py ('k') | appengine/findit/third_party/gae-pytz » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/handlers/flake/check_flake.py
diff --git a/appengine/findit/handlers/flake/check_flake.py b/appengine/findit/handlers/flake/check_flake.py
index ef4f6aebdb51eaf588926c7d88d9436c92259a2d..00524b6f5ce2358db091ecc6f1af2da9870f40b7 100644
--- a/appengine/findit/handlers/flake/check_flake.py
+++ b/appengine/findit/handlers/flake/check_flake.py
@@ -28,7 +28,7 @@ class CheckFlake(BaseHandler):
master_flake_analysis = ScheduleAnalysisIfNeeded(
master_name, builder_name, build_number, step_name, test_name,
- allow_new_analysis, force=force,
+ allow_new_analysis, force=force, manually_triggered=True,
queue_name=constants.WATERFALL_ANALYSIS_QUEUE)
if not master_flake_analysis: # pragma: no cover.
@@ -56,12 +56,10 @@ class CheckFlake(BaseHandler):
'test_name': test_name,
}
- build_numbers = []
- pass_rates = []
coordinates = []
for data_point in master_flake_analysis.data_points:
- coordinates.append((data_point.build_number, data_point.pass_rate))
+ coordinates.append([data_point.build_number, data_point.pass_rate])
# Order by build number from earliest to latest.
coordinates.sort(key=lambda x: x[0])
« no previous file with comments | « appengine/findit/common/time_util.py ('k') | appengine/findit/third_party/gae-pytz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698