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

Side by Side Diff: appengine/findit/handlers/flake/check_flake.py

Issue 2624313002: [Findit] Flake Checker: Get swarming task triggered by flake try jobs. (Closed)
Patch Set: update docstring Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | appengine/findit/waterfall/flake/process_flake_try_job_result_pipeline.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import logging 5 import logging
6 6
7 from google.appengine.api import users 7 from google.appengine.api import users
8 from google.appengine.ext import ndb 8 from google.appengine.ext import ndb
9 9
10 from common.base_handler import BaseHandler 10 from common.base_handler import BaseHandler
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 if analysis.status != analysis_status.PENDING: 224 if analysis.status != analysis_status.PENDING:
225 data['duration'] = time_util.FormatDuration( 225 data['duration'] = time_util.FormatDuration(
226 analysis.start_time, 226 analysis.start_time,
227 analysis.end_time or time_util.GetUTCNow()) 227 analysis.end_time or time_util.GetUTCNow())
228 228
229 data['pass_rates'] = _GetCoordinatesData(analysis) 229 data['pass_rates'] = _GetCoordinatesData(analysis)
230 230
231 return { 231 return {
232 'template': 'flake/result.html', 232 'template': 'flake/result.html',
233 'data': data 233 'data': data
234 } 234 }
OLDNEW
« no previous file with comments | « no previous file | appengine/findit/waterfall/flake/process_flake_try_job_result_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698