Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3929)

Unified Diff: build/android/pylib/local/device/local_device_instrumentation_test_run.py

Issue 2144823003: [Android] Blacklist devices on failures during environment set up + tear down. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ee6f7a45c2b8e4fde7419885ea3d7778e9737365..26d10f4d1d7ed797a4682a0acae6ff13b382281e 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
@@ -13,6 +13,7 @@ from devil.android import flag_changer
from devil.utils import reraiser_thread
from pylib import valgrind_tools
from pylib.base import base_test_result
+from pylib.local.device import local_device_environment
from pylib.local.device import local_device_test_run
@@ -67,7 +68,7 @@ class LocalDeviceInstrumentationTestRun(
else:
return d
- @local_device_test_run.handle_shard_failures_with(
+ @local_device_environment.handle_shard_failures_with(
self._env.BlacklistDevice)
def individual_device_set_up(dev, host_device_tuples):
def install_apk():
@@ -148,7 +149,7 @@ class LocalDeviceInstrumentationTestRun(
self._test_instance.GetDataDependencies())
def TearDown(self):
- @local_device_test_run.handle_shard_failures_with(
+ @local_device_environment.handle_shard_failures_with(
self._env.BlacklistDevice)
def individual_device_tear_down(dev):
if str(dev) in self._flag_changers:

Powered by Google App Engine
This is Rietveld 408576698