| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 { | 93 { |
| 94 'server_host': 'chromium-swarm.appspot.com', | 94 'server_host': 'chromium-swarm.appspot.com', |
| 95 'default_request_priority': 150, | 95 'default_request_priority': 150, |
| 96 'request_expiration_hours': 20, | 96 'request_expiration_hours': 20, |
| 97 'server_query_interval_seconds': 60, | 97 'server_query_interval_seconds': 60, |
| 98 'task_timeout_hours': 23, | 98 'task_timeout_hours': 23, |
| 99 'isolated_server': 'https://isolateserver.appspot.com', | 99 'isolated_server': 'https://isolateserver.appspot.com', |
| 100 'isolated_storage_url': 'isolateserver.storage.googleapis.com', | 100 'isolated_storage_url': 'isolateserver.storage.googleapis.com', |
| 101 'iterations_to_rerun': 10, | 101 'iterations_to_rerun': 10, |
| 102 'get_swarming_task_id_timeout_seconds': 300, | 102 'get_swarming_task_id_timeout_seconds': 300, |
| 103 'get_swarming_task_id_wait_seconds': 10 | 103 'get_swarming_task_id_wait_seconds': 10, |
| 104 'server_retry_timeout_hours': 2, |
| 105 'maximum_server_contact_retry_interval_seconds': 5 * 60, |
| 106 'should_retry_server': False, |
| 104 }, | 107 }, |
| 105 waterfall_config.GetSwarmingSettings()) | 108 waterfall_config.GetSwarmingSettings()) |
| 106 | 109 |
| 107 def testGetDownloadBuildDataSettings(self): | 110 def testGetDownloadBuildDataSettings(self): |
| 108 self.assertEqual( | 111 self.assertEqual( |
| 109 { | 112 { |
| 110 'download_interval_seconds': 10, | 113 'download_interval_seconds': 10, |
| 111 'memcache_master_download_expiration_seconds': 3600, | 114 'memcache_master_download_expiration_seconds': 3600, |
| 112 'use_chrome_build_extract': True | 115 'use_chrome_build_extract': True |
| 113 }, | 116 }, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 141 { | 144 { |
| 142 'lower_flake_threshold': 0.02, | 145 'lower_flake_threshold': 0.02, |
| 143 'upper_flake_threshold': 0.98, | 146 'upper_flake_threshold': 0.98, |
| 144 'max_flake_in_a_row': 4, | 147 'max_flake_in_a_row': 4, |
| 145 'max_stable_in_a_row': 4, | 148 'max_stable_in_a_row': 4, |
| 146 'iterations_to_rerun': 100, | 149 'iterations_to_rerun': 100, |
| 147 'max_build_numbers_to_look_back': 1000, | 150 'max_build_numbers_to_look_back': 1000, |
| 148 'use_nearby_neighbor': True | 151 'use_nearby_neighbor': True |
| 149 }, | 152 }, |
| 150 waterfall_config.GetCheckFlakeSettings()) | 153 waterfall_config.GetCheckFlakeSettings()) |
| OLD | NEW |