| Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| index d5426bc3e66d52eddf8b6e595e102d5aa0550782..ee6f7a45c2b8e4fde7419885ea3d7778e9737365 100644
|
| --- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| +++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| @@ -331,6 +331,17 @@ class LocalDeviceInstrumentationTestRun(
|
| return results
|
|
|
| #override
|
| + def _ShouldRetry(self, test):
|
| + if 'RetryOnFailure' in test.get('annotations', {}):
|
| + return True
|
| +
|
| + # TODO(jbudorick): Remove this log message and switch the return value to
|
| + # False after tests have been annotated with @RetryOnFailure.
|
| + # See crbug.com/619055 for more details.
|
| + logging.warning('Default retries are being phased out. crbug.com/619055')
|
| + return True
|
| +
|
| + #override
|
| def _ShouldShard(self):
|
| return True
|
|
|
|
|