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

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

Issue 2282093002: [Findit] Moving check flake max_builds_to_look_back to config (Closed)
Patch Set: 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 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 waterfall import waterfall_config 5 from waterfall import waterfall_config
6 from waterfall.test import wf_testcase 6 from waterfall.test import wf_testcase
7 7
8 8
9 class MastersTest(wf_testcase.WaterfallTestCase): 9 class MastersTest(wf_testcase.WaterfallTestCase):
10 10
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 }, 136 },
137 waterfall_config.GetActionSettings()) 137 waterfall_config.GetActionSettings())
138 138
139 def testGetCheckFlakeSettings(self): 139 def testGetCheckFlakeSettings(self):
140 self.assertEqual( 140 self.assertEqual(
141 { 141 {
142 'lower_flake_threshold': 0.02, 142 'lower_flake_threshold': 0.02,
143 'upper_flake_threshold': 0.98, 143 'upper_flake_threshold': 0.98,
144 'max_flake_in_a_row': 4, 144 'max_flake_in_a_row': 4,
145 'max_stable_in_a_row': 4, 145 'max_stable_in_a_row': 4,
146 'iterations_to_rerun': 100 146 'iterations_to_rerun': 100,
147 'max_build_numbers_to_look_back': 1000
147 }, 148 },
148 waterfall_config.GetCheckFlakeSettings()) 149 waterfall_config.GetCheckFlakeSettings())
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/flake/initialize_flake_pipeline.py ('k') | appengine/findit/waterfall/test/wf_testcase.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698