| OLD | NEW |
| 1 # Copyright 2013 The LUCI Authors. All rights reserved. | 1 # Copyright 2013 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 from recipe_engine import recipe_api, config | 5 from recipe_engine import recipe_api, config |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'context', | 8 'context', |
| 9 'path', | 9 'path', |
| 10 'properties', | 10 'properties', |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 api.test('timeout') + | 180 api.test('timeout') + |
| 181 api.properties(timeout=1) + | 181 api.properties(timeout=1) + |
| 182 api.step_data('timeout', times_out_after=20) | 182 api.step_data('timeout', times_out_after=20) |
| 183 ) | 183 ) |
| 184 | 184 |
| 185 yield ( | 185 yield ( |
| 186 api.test('catch_timeout') + | 186 api.test('catch_timeout') + |
| 187 api.properties(timeout=2) + | 187 api.properties(timeout=2) + |
| 188 api.step_data('caught timeout', times_out_after=20) | 188 api.step_data('caught timeout', times_out_after=20) |
| 189 ) | 189 ) |
| OLD | NEW |