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

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

Issue 2042043004: Added skeleton code for the Detection of regression range for flaky (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Skeleton Code Regression Range Created 4 years, 6 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 # pylint: disable=W0612
6 from common.base_handler import BaseHandler
7 from common.base_handler import Permission
8
9
10 class CheckFlake(BaseHandler):
11 PERMISSION_LEVEL = Permission.CORP_USER
12
13 def HandleGet(self):
14
15 # Get input parameters.
16 master_name = self.request.get('master_name').strip()
17 builder_name = self.request.get('builder_name').strip()
18 build_number = int(self.request.get('build_number').strip())
19 test_target_name = self.request.get('test_target_name').strip()
20 testcase_list = self.request.get('testcase_list').strip()
21
22 # TODO(caiw): Get status of master_analysis from database
stgao 2016/06/13 22:27:11 nit: end with a dot like this.
caiw 2016/06/13 22:43:56 Acknowledged.
caiw 2016/06/13 22:45:35 Done.
23
24 # TODO(caiw): If there is a completed master_analysis, return
25 # the template which displays it.
26
27 # TODO(caiw): If the current master_analysis has an error,
28 # delete it.
29
30 # TODO(caiw): If there is no master_analysis, create one.
31
32 # TODO(caiw): Trigger pipeline
stgao 2016/06/13 22:27:12 Same here.
caiw 2016/06/13 22:43:56 Acknowledged.
33
34 # TODO(caiw): Return the appropriate template based on the case
35
36 def HandlePost(self): # pragma: no cover
stgao 2016/06/13 22:27:12 This seems won't be used, thus we could delete it
caiw 2016/06/13 22:43:56 Done.
37 return self.HandleGet()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698