From f3245684d5ce7a6cb9ca227b1afbf3d9c07c1ceb Mon Sep 17 00:00:00 2001 From: Chris Desir Date: Tue, 3 Jun 2025 18:33:05 +0000 Subject: [PATCH] Increase WAIT_RA_TIMEOUT_MS EthernetTethering tests on auto devices are flaky waiting for RA. Increased timeout will give a more generous window to receive RA. Flag: EXEMPT bugfix Bug: 418010532 Test: atest android.net.EthernetTetheringTest#testLocalOnlyTethering --iterations 50 Test: atest android.net.EthernetTetheringTest --iterations 20 Change-Id: I6092ee805267a6d50fa2842d3131eeae544c3443 --- .../integration/base/android/net/EthernetTetheringTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tethering/tests/integration/base/android/net/EthernetTetheringTestBase.java b/Tethering/tests/integration/base/android/net/EthernetTetheringTestBase.java index 1323f28ff7..1e4d4dc13a 100644 --- a/Tethering/tests/integration/base/android/net/EthernetTetheringTestBase.java +++ b/Tethering/tests/integration/base/android/net/EthernetTetheringTestBase.java @@ -108,7 +108,7 @@ public abstract class EthernetTetheringTestBase { // See TetheredInterfaceRequester.getInterface, isInterfaceForTetheringAvailable. private static final int SHORT_TIMEOUT_MS = 1000; private static final int TETHER_REACHABILITY_ATTEMPTS = 20; - protected static final long WAIT_RA_TIMEOUT_MS = 2000; + protected static final long WAIT_RA_TIMEOUT_MS = 10000; // Address and NAT prefix definition. protected static final MacAddress TEST_MAC = MacAddress.fromString("1:2:3:4:5:6");