diff options
-rwxr-xr-x | automated/lib/android-test-lib | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index 4c515ce..16db841 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -32,7 +32,7 @@ initialize_adb() { set -x adb_debug_info adb start-server - adb wait-for-device + timeout 600 adb wait-for-device || error_msg "Device NOT found!" adb devices if [ -z "${ANDROID_SERIAL}" ]; then @@ -62,7 +62,7 @@ adb_root() { echo "DUT already has adbd running as root" else adb root - adb wait-for-device + timeout 600 adb wait-for-device || error_msg "Device NOT found!" adb devices # After adb root, device number within the USB bus changes. adb_debug_info |