Tune up TIMEOUTs of IPSec CTS for low end devices
Ikev2VpnTest#testStartStopVpnProfileV4 and testStartStopVpnProfileV6 contains the IKE sequences and requires the phone to send and receive the required packet in 1000ms. On some low end devices, the response time may exceeds this TIMEOUT sometimes. So we need to use larger timeouts. Bug: 171176723 Change-Id: I005b83ffecd8ade5063000690bfd4136d82f1a07
This commit is contained in:
parent
4eda64baca
commit
5c39147e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ public class TunUtils {
|
|||
protected static final int IP6_PROTO_OFFSET = 6;
|
||||
|
||||
private static final int DATA_BUFFER_LEN = 4096;
|
||||
private static final int TIMEOUT = 1000;
|
||||
private static final int TIMEOUT = 2000;
|
||||
|
||||
private final List<byte[]> mPackets = new ArrayList<>();
|
||||
private final ParcelFileDescriptor mTunFd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue