Index: build/android/pylib/instrumentation/instrumentation_test_instance.py |
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
index 4536f6e74b5ddc672a6ac81869616073c934e2ad..b13fdb28f3400c07175e9010f90d207d3116bdb2 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -44,6 +44,9 @@ _EXTRA_DRIVER_TARGET_PACKAGE = ( |
'org.chromium.test.driver.OnDeviceInstrumentationDriver.TargetPackage') |
_EXTRA_DRIVER_TARGET_CLASS = ( |
'org.chromium.test.driver.OnDeviceInstrumentationDriver.TargetClass') |
+_EXTRA_TIMEOUT_SCALE = ( |
+ 'org.chromium.test.driver.OnDeviceInstrumentationDriver.TimeoutScale') |
+ |
_PARAMETERIZED_TEST_ANNOTATION = 'ParameterizedTest' |
_PARAMETERIZED_TEST_SET_ANNOTATION = 'ParameterizedTest$Set' |
_NATIVE_CRASH_RE = re.compile('native crash', re.IGNORECASE) |
@@ -606,6 +609,7 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
env = { |
_EXTRA_DRIVER_TARGET_PACKAGE: self.test_package, |
_EXTRA_DRIVER_TARGET_CLASS: self.test_runner, |
+ _EXTRA_TIMEOUT_SCALE: self._timeout_scale, |
} |
if test_list: |