summaryrefslogtreecommitdiff
path: root/automated
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-04-04 19:33:09 +0530
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-04-10 16:50:54 +0000
commit3092beae5fcf08b176c9b40c01d36fb3536f2cfc (patch)
treeaf07ccd2bc58b1823bac36031aeb3d36b5c0777c /automated
parent8cd86da595e9b0630ccad3e2983e406231daa029 (diff)
downloadtest-definitions-pipe-3092beae5fcf08b176c9b40c01d36fb3536f2cfc.tar.gz
fix adb root issue
Based on inputs from LAVA team, the right sequence of calls is: lava-lxc-device-wait-add lava-lxc-device-add adb wait-for-device Change-Id: I345aa85910ee68c79cf87b3447104b31d26d936f Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
Diffstat (limited to 'automated')
-rwxr-xr-xautomated/lib/android-test-lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib
index 3bacee6..552dd31 100755
--- a/automated/lib/android-test-lib
+++ b/automated/lib/android-test-lib
@@ -37,7 +37,7 @@ initialize_adb() {
adb_root() {
adb root &
- sleep 10
+ which lava-lxc-device-wait-add && lava-lxc-device-wait-add
which lava-lxc-device-add && lava-lxc-device-add
adb wait-for-device
adb devices