Skip to content

Commit

Permalink
Extend the response waiting time of executing command (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou9584 authored Jan 10, 2023
1 parent c18a21b commit 7eb1320
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7eb1320

Please sign in to comment.