Index: third_party/android_testrunner/adb_interface.py |
diff --git a/third_party/android_testrunner/adb_interface.py b/third_party/android_testrunner/adb_interface.py |
index b8f740b2f01b2e31e13cb84c1ed6c95af02b41a3..1582970ee5a5611ff0f17d93c1ab2a336c31a460 100644 |
--- a/third_party/android_testrunner/adb_interface.py |
+++ b/third_party/android_testrunner/adb_interface.py |
@@ -409,7 +409,8 @@ class AdbInterface: |
while not success and (attempts*wait_period) < wait_time: |
# assume the command will always contain expected in the success case |
try: |
- output = self.SendShellCommand(command, retry_count=1) |
+ output = self.SendShellCommand(command, retry_count=1, |
+ timeout_time=wait_time/2) |
jbudorick
2014/07/08 20:00:45
Why wait_time/2?
tonyg
2014/07/08 20:17:10
Since we'll run this twice (1 retry), I initially
|
if ((not invert and expected in output) |
or (invert and expected not in output)): |
success = True |