Chromium Code Reviews| Index: build/android/buildbot/bb_device_status_check.py |
| diff --git a/build/android/buildbot/bb_device_status_check.py b/build/android/buildbot/bb_device_status_check.py |
| index e279b5095c32ee9b33f1f17d0927139d602f1cb9..9f0858607cbac17b4bcc436a53a4cf07529bc1d0 100755 |
| --- a/build/android/buildbot/bb_device_status_check.py |
| +++ b/build/android/buildbot/bb_device_status_check.py |
| @@ -8,10 +8,11 @@ |
| import logging |
| import optparse |
| import os |
| +import re |
| import smtplib |
| import subprocess |
| import sys |
| -import re |
| +import time |
| import urllib |
| import bb_annotations |
| @@ -260,6 +261,7 @@ def main(): |
| rc = RestartUsb() |
| if rc: |
| return 1 |
| + time.sleep(2) |
|
tonyg
2013/10/24 01:10:59
I think we want adb wait-for-device instead of tim
Isaac (use chromium)
2013/10/24 01:20:37
I think this actually does require sleep in worst
frankf
2013/10/24 01:30:12
wait-for-device works for particular devices (usin
navabi
2013/10/24 02:42:35
I talked to Frank about this, and I think sleep is
bulach
2013/10/24 13:01:14
FYI, one issue I saw was that there was a lingerin
bulach
2013/10/24 13:12:17
btw, dominik just tested and apparently 1s is not
navabi
2013/10/24 18:56:24
I don't think we want to stop as soon as anything
|
| devices = android_commands.GetAttachedDevices() |
| # TODO(navabi): Test to make sure this fails and then fix call |