Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7642249 authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Android (Google) Code Review
Browse files

Merge "Speed up the DHCP roaming tests." into rvc-dev

parents 60422b52 088567c8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1956,6 +1956,9 @@ public class IpClientIntegrationTest {
        doAnswer(invocation -> {
            // we don't rely on the Init-Reboot state to renew previous cached IP lease.
            // Just return null and force state machine enter INIT state.
            final String l2Key = invocation.getArgument(0);
            ((OnNetworkAttributesRetrievedListener) invocation.getArgument(1))
                    .onNetworkAttributesRetrieved(new Status(SUCCESS), l2Key, null);
            return null;
        }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());