From 3092beae5fcf08b176c9b40c01d36fb3536f2cfc Mon Sep 17 00:00:00 2001 From: Vishal Bhoj Date: Tue, 4 Apr 2017 19:33:09 +0530 Subject: 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 --- automated/lib/android-test-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'automated') 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 -- cgit v1.2.3