IpSecManagerTest: Increase time to wait for packets
"Not enough traffic was recorded to satisfy the provided conditions" is
a commonly seen flake. This change increases the timeout value
arbitrarily to hopefully fix some of those failures.
I have not looked at the test in detail, so it is entirely possible that
this will not fix anything.
Test: TH
Bug: 270135449
Change-Id: I31b14c560c21f2942a87b88e75e5aca0a3b1c270
diff --git a/tests/cts/net/src/android/net/cts/IpSecManagerTest.java b/tests/cts/net/src/android/net/cts/IpSecManagerTest.java
index 4fa0080..9c30811 100644
--- a/tests/cts/net/src/android/net/cts/IpSecManagerTest.java
+++ b/tests/cts/net/src/android/net/cts/IpSecManagerTest.java
@@ -395,7 +395,7 @@
private static class StatsChecker {
private static final double ERROR_MARGIN_BYTES = 1.05;
private static final double ERROR_MARGIN_PKTS = 1.05;
- private static final int MAX_WAIT_TIME_MILLIS = 1000;
+ private static final int MAX_WAIT_TIME_MILLIS = 3000;
private static long uidTxBytes;
private static long uidRxBytes;