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

Side by Side Diff: appengine/findit/waterfall/test/waterfall_config_test.py

Issue 1799313002: [Findit] Collect failed output nodes of compile and link failures by strict regex (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Support Android besides Mac/Linux/CrOS Created 4 years, 9 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
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 from testing_utils import testing 5 from testing_utils import testing
6 6
7 from model.wf_config import FinditConfig 7 from model.wf_config import FinditConfig
8 from waterfall import waterfall_config 8 from waterfall import waterfall_config
9 9
10 10
(...skipping 23 matching lines...) Expand all
34 'global': { 34 'global': {
35 # Blacklists all listed steps for all masters unless overridden. 35 # Blacklists all listed steps for all masters unless overridden.
36 'unsupported_steps': ['step6', 'step7'], 36 'unsupported_steps': ['step6', 'step7'],
37 } 37 }
38 }, 38 },
39 'builders_to_trybots': { 39 'builders_to_trybots': {
40 'master1': { 40 'master1': {
41 'builder1': { 41 'builder1': {
42 'mastername': 'tryserver1', 42 'mastername': 'tryserver1',
43 'buildername': 'trybot1', 43 'buildername': 'trybot1',
44 'strict_regex': True,
44 } 45 }
45 } 46 }
46 }, 47 },
47 'try_job_settings': { 48 'try_job_settings': {
48 'server_query_interval_seconds': 60, 49 'server_query_interval_seconds': 60,
49 'job_timeout_hours': 5, 50 'job_timeout_hours': 5,
50 'allowed_response_error_times': 1 51 'allowed_response_error_times': 1
51 }, 52 },
52 'swarming_settings': { 53 'swarming_settings': {
53 'server_host': 'chromium-swarm.appspot.com', 54 'server_host': 'chromium-swarm.appspot.com',
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 'server_host': 'chromium-swarm.appspot.com', 144 'server_host': 'chromium-swarm.appspot.com',
144 'default_request_priority': 150, 145 'default_request_priority': 150,
145 'request_expiration_hours': 20, 146 'request_expiration_hours': 20,
146 'server_query_interval_seconds': 60, 147 'server_query_interval_seconds': 60,
147 'task_timeout_hours': 23, 148 'task_timeout_hours': 23,
148 'isolated_server': 'https://isolateserver.appspot.com', 149 'isolated_server': 'https://isolateserver.appspot.com',
149 'isolated_storage_url': 'isolateserver.storage.googleapis.com', 150 'isolated_storage_url': 'isolateserver.storage.googleapis.com',
150 'iterations_to_rerun': 10 151 'iterations_to_rerun': 10
151 }, 152 },
152 waterfall_config.GetSwarmingSettings()) 153 waterfall_config.GetSwarmingSettings())
154
155 def testEnableStrictRegexForCompileLinkFailures(self):
156 self.assertFalse(
157 waterfall_config.EnableStrictRegexForCompileLinkFailures('m', 'b'))
158 self.assertTrue(
159 waterfall_config.EnableStrictRegexForCompileLinkFailures(
160 'master1', 'builder1'))
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/test/try_job_util_test.py ('k') | appengine/findit/waterfall/try_job_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698