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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/port/android.py

Issue 27046003: Handle content_shell failing to start on android as device going offline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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: Tools/Scripts/webkitpy/layout_tests/port/android.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/port/android.py b/Tools/Scripts/webkitpy/layout_tests/port/android.py
index 7660dcec783f4b0e1a8a9ff5c83697cb3732e414..0ec8277e3699ed6c6ff411ea7de71c961a903603 100644
--- a/Tools/Scripts/webkitpy/layout_tests/port/android.py
+++ b/Tools/Scripts/webkitpy/layout_tests/port/android.py
@@ -852,7 +852,7 @@ class ChromiumAndroidDriver(driver.Driver):
_log.debug('[%s] %s' % (self._android_commands.get_serial(), message))
def _abort(self, message):
- raise AssertionError('[%s] %s' % (self._android_commands.get_serial(), message))
+ raise driver.DeviceOffline('[%s] %s' % (self._android_commands.get_serial(), message))
@staticmethod
def _extract_hashes_from_md5sum_output(md5sum_output):

Powered by Google App Engine
This is Rietveld 408576698