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

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

Issue 2614723002: Revert of [Android] Disable mid perf run device recovery on n7 devices. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/local/device/local_device_perf_test_run.py
diff --git a/build/android/pylib/local/device/local_device_perf_test_run.py b/build/android/pylib/local/device/local_device_perf_test_run.py
index 0dbafd5a104f60f033eacca23a33a2f343f79102..b34c3603891edf6af51085fa320c6a10b1491dfa 100644
--- a/build/android/pylib/local/device/local_device_perf_test_run.py
+++ b/build/android/pylib/local/device/local_device_perf_test_run.py
@@ -252,12 +252,7 @@
self._TestTearDown()
if result_type != base_test_result.ResultType.PASS:
try:
- # TODO(rnephew): Possible problem when restarting on N7 devices.
- # Determine if this is true. crbug.com/667470
- if 'Nexus 7' not in self._device.product_model:
- device_recovery.RecoverDevice(self._device, self._env.blacklist)
- else:
- logging.critical('Not attempting device recovery.')
+ device_recovery.RecoverDevice(self._device, self._env.blacklist)
except device_errors.CommandTimeoutError:
logging.exception(
'Device failed to recover after failing %s.', test)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698