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

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

Issue 2345093002: [Findit] Extending versioned_model.py to support versioning multiple entities of the same class. (Closed)
Patch Set: Ignore this patch, uploaded unrelated change to wrong branch Created 4 years, 3 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/findit/handlers/flake/test/check_flake_test.py » ('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 9601628ea826947a7c0eb164c0246af91256eb5b..7170c20de4cb47cb5412e6c70f6bb099eefec360 100644
--- a/appengine/findit/handlers/flake/check_flake.py
+++ b/appengine/findit/handlers/flake/check_flake.py
@@ -44,7 +44,7 @@ class CheckFlake(BaseHandler):
}
data = {
- 'success_rates': [],
+ 'pass_rates': [],
'analysis_status': STATUS_TO_DESCRIPTION.get(
master_flake_analysis.status),
'suspected_flake_build_number': (
@@ -55,11 +55,13 @@ class CheckFlake(BaseHandler):
'step_name': step_name,
'test_name': test_name,
}
+
zipped = zip(master_flake_analysis.build_numbers,
- master_flake_analysis.success_rates)
+ master_flake_analysis.pass_rates)
zipped.sort(key = lambda x: x[0])
- for (build_number, success_rate) in zipped:
- data['success_rates'].append([build_number, success_rate])
+
+ for (build_number, pass_rate) in zipped:
+ data['pass_rates'].append([build_number, pass_rate])
return {
'template': 'flake/result.html',
'data': data
« no previous file with comments | « no previous file | appengine/findit/handlers/flake/test/check_flake_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698