summaryrefslogtreecommitdiff
path: root/tools/buildbot-setup-device.sh
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2023-08-24 11:42:39 +0000
committer Vladimir Marko <vmarko@google.com> 2023-08-24 12:10:00 +0000
commit6863692a0e4ebde79b2c7d03478cb7b5e27ba5fc (patch)
tree1c05ce9a1f04101452f800ae8f76bbf4ce69e5fe /tools/buildbot-setup-device.sh
parentde3e539e64838ef34160d40f0bca583455f27dc6 (diff)
Give `adb shell ps` more time to complete.
The command currently takes just over 2s on `aosp_cf_riscv64_phone-userdebug` to complete. Test: m Bug: 283082089 Change-Id: Ibb70f1068a24b4f797aea5ac15b63b8c8113491a
Diffstat (limited to 'tools/buildbot-setup-device.sh')
-rwxr-xr-xtools/buildbot-setup-device.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/buildbot-setup-device.sh b/tools/buildbot-setup-device.sh
index 7a18d04324..43bb95d7d6 100755
--- a/tools/buildbot-setup-device.sh
+++ b/tools/buildbot-setup-device.sh
@@ -141,7 +141,7 @@ $verbose && adb logcat -p
msginfo "Kill stalled dalvikvm processes"
# 'ps' on M can sometimes hang.
-timeout 2s adb shell "ps" >/dev/null
+timeout 5s adb shell "ps" >/dev/null
if [[ $? == 124 ]] && [[ "$ART_TEST_RUN_ON_ARM_FVP" != true ]]; then
msginfo "Rebooting device to fix 'ps'"
adb reboot