| OLD | NEW |
| 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 Loading... |
| 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()) |
| OLD | NEW |