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

Commit 613b68ea authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Automerger Merge Worker
Browse files

Merge "Speed up the DHCP roaming tests." into rvc-dev am: f7642249 am: d7a52dd8 am: a4e8c809

Change-Id: I431e6b9bf8712d27e894394628eb7cfc19eaa23b
parents 60fda5ed a4e8c809
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -1956,6 +1956,9 @@ public class IpClientIntegrationTest {
        doAnswer(invocation -> {
        doAnswer(invocation -> {
            // we don't rely on the Init-Reboot state to renew previous cached IP lease.
            // 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.
            // 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;
            return null;
        }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());
        }).when(mIpMemoryStore).retrieveNetworkAttributes(eq(TEST_L2KEY), any());