Chromium Code Reviews| Index: scripts/slave/recipes/chromium.py |
| diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py |
| index e99692d735ea450b560a11813dbc5788a8e544ed..c11ac2b830a2ef61d85b1e99434f0bfec4fb2549 100644 |
| --- a/scripts/slave/recipes/chromium.py |
| +++ b/scripts/slave/recipes/chromium.py |
| @@ -599,6 +599,77 @@ def GenTests(api): |
| ) |
| yield ( |
| + api.test( |
| + 'dynamic_swarmed_sharded_isolated_chartjson_test_harness_failure') + |
| + api.properties.generic(mastername='chromium.linux', |
| + buildername='Linux Tests', |
| + parent_buildername='Linux Builder') + |
| + api.properties(swarm_hashes={ |
| + 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', |
| + }) + |
| + api.platform('linux', 64) + |
| + api.override_step_data( |
| + 'read test spec (chromium.linux.json)', |
| + api.json.output({ |
| + 'Linux Tests': { |
| + 'isolated_scripts': [ |
| + { |
| + 'isolate_name': 'telemetry_gpu_unittests', |
| + 'name': 'telemetry_gpu_unittests', |
| + 'swarming': { |
| + 'can_use_on_swarming_builders': True, |
| + 'shards': 2, |
| + }, |
| + }, |
| + ], |
| + }, |
| + }) |
| + ) + |
| + api.override_step_data( |
| + 'telemetry_gpu_unittests on Ubuntu-12.04', |
| + api.test_utils.canned_isolated_script_output( |
| + passing=True, is_win=False, swarming=True, |
| + shards=4, isolated_script_passing=True, valid=True, |
| + empty_shards=[1], output_chartjson=True), |
| + retcode=1) |
|
Ken Russell (switch to Gerrit)
2016/09/17 03:33:47
As far as I can tell the parameters for this fake
eyaich1
2016/09/19 17:56:16
missing/empty shards are the difference in the par
|
| + ) |
| + |
| + yield ( |
| + api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') + |
| + api.properties.generic(mastername='chromium.linux', |
| + buildername='Linux Tests', |
| + parent_buildername='Linux Builder') + |
| + api.properties(swarm_hashes={ |
| + 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', |
| + }) + |
| + api.platform('linux', 64) + |
| + api.override_step_data( |
| + 'read test spec (chromium.linux.json)', |
| + api.json.output({ |
| + 'Linux Tests': { |
| + 'isolated_scripts': [ |
| + { |
| + 'isolate_name': 'telemetry_gpu_unittests', |
| + 'name': 'telemetry_gpu_unittests', |
| + 'swarming': { |
| + 'can_use_on_swarming_builders': True, |
| + 'shards': 2, |
| + }, |
| + }, |
| + ], |
| + }, |
| + }) |
| + ) + |
| + api.override_step_data( |
| + 'telemetry_gpu_unittests on Ubuntu-12.04', |
| + api.test_utils.canned_isolated_script_output( |
| + passing=True, is_win=False, swarming=True, |
| + shards=2, isolated_script_passing=True, valid=True, |
| + missing_shards=[1], output_chartjson=True), |
| + retcode=1) |
| + ) |
| + |
| + yield ( |
| api.test('dynamic_swarmed_isolated_script_test_linux_gpu') + |
| api.properties.generic(mastername='chromium.linux', |
| buildername='Linux Tests', |