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

Unified Diff: devil/devil/android/device_test_case.py

Issue 2808763004: [devil] Raise DeviceUnreachableError on device not found (Closed)
Patch Set: match specific device Created 3 years, 8 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 | « devil/devil/android/device_errors.py ('k') | devil/devil/android/forwarder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/android/device_test_case.py
diff --git a/devil/devil/android/device_test_case.py b/devil/devil/android/device_test_case.py
index b995fa6f94c56d03ee84cf998a862fca7283b7a9..1148b54491c1411e15c4786875dd59395f4f7e4e 100644
--- a/devil/devil/android/device_test_case.py
+++ b/devil/devil/android/device_test_case.py
@@ -22,7 +22,8 @@ def PrepareDevices(*_args):
d.WaitUntilFullyBooted(timeout=5, retries=0)
live_devices.append(str(d))
except (device_errors.CommandFailedError,
- device_errors.CommandTimeoutError):
+ device_errors.CommandTimeoutError,
+ device_errors.DeviceUnreachableError):
pass
with _devices_lock:
_devices.update(set(live_devices))
@@ -51,4 +52,3 @@ class DeviceTestCase(unittest.TestCase):
with _devices_lock:
_devices.add(self.serial)
_devices_condition.notify()
-
« no previous file with comments | « devil/devil/android/device_errors.py ('k') | devil/devil/android/forwarder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698