| 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 eacad08d30cfb571586a5be801bce72512db687c..35c2c3f3974c20adaf05f947a3f7df9a642fd800 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
|
| @@ -7,10 +7,8 @@ import re
|
| import time
|
|
|
| from devil.android import device_errors
|
| -from devil.android.sdk import keyevent
|
| from pylib import flag_changer
|
| from pylib.base import base_test_result
|
| -from pylib.base import test_run
|
| from pylib.local.device import local_device_test_run
|
|
|
|
|
| @@ -143,7 +141,7 @@ class LocalDeviceInstrumentationTestRun(
|
| extras['class'] = test_name
|
| timeout = self._GetTimeoutFromAnnotations(test['annotations'], test_name)
|
|
|
| - logging.info('preparing to run %s: %s' % (test_name, test))
|
| + logging.info('preparing to run %s: %s', test_name, test)
|
|
|
| time_ms = lambda: int(time.time() * 1e3)
|
| start_ms = time_ms()
|
| @@ -176,8 +174,9 @@ class LocalDeviceInstrumentationTestRun(
|
| for k, v in TIMEOUT_ANNOTATIONS:
|
| if k in annotations:
|
| timeout = v
|
| + break
|
| else:
|
| - logging.warning('Using default 1 minute timeout for %s' % test_name)
|
| + logging.warning('Using default 1 minute timeout for %s', test_name)
|
| timeout = 60
|
|
|
| try:
|
|
|