diff options
author | Vishal Bhoj <vishal.bhoj@linaro.org> | 2017-04-04 19:33:09 +0530 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2017-04-10 16:50:54 +0000 |
commit | 3092beae5fcf08b176c9b40c01d36fb3536f2cfc (patch) | |
tree | af07ccd2bc58b1823bac36031aeb3d36b5c0777c | |
parent | 8cd86da595e9b0630ccad3e2983e406231daa029 (diff) |
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>
-rwxr-xr-x | automated/lib/android-test-lib | 2 |
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 |