diff --git a/common/src/main/java/com/microsoft/hydralab/common/util/ADBOperateUtil.java b/common/src/main/java/com/microsoft/hydralab/common/util/ADBOperateUtil.java index 0b7b95080..b8f7d0df4 100644 --- a/common/src/main/java/com/microsoft/hydralab/common/util/ADBOperateUtil.java +++ b/common/src/main/java/com/microsoft/hydralab/common/util/ADBOperateUtil.java @@ -135,7 +135,7 @@ public void execOnDevice(DeviceInfo deviceInfo, String comm, IShellOutputReceive public void executeShellCommandOnDevice(DeviceInfo deviceInfo, String command, IShellOutputReceiver receiver, int testTimeOutSec) throws ShellCommandUnresponsiveException, AdbCommandRejectedException, IOException, TimeoutException { IDevice device = getDeviceByInfo(deviceInfo); Assert.notNull(device, "Not such device is available " + deviceInfo.getSerialNum()); - device.executeShellCommand(command, receiver, testTimeOutSec, 5, TimeUnit.SECONDS); + device.executeShellCommand(command, receiver, testTimeOutSec, 120, TimeUnit.SECONDS); } public Process executeDeviceCommandOnPC(DeviceInfo deviceInfo, String command, Logger logger) throws IOException {