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

Commit d7514f17 authored by Paul Hu's avatar Paul Hu Committed by Automerger Merge Worker
Browse files

Merge "Fix TetheringIntegrationTests failure" am: 43a219ee am: 9f8d61aa

Change-Id: Icde8ef078ec5ebde8d9c978432a9aa12b7a1e3a9
parents 98e98eaa 9f8d61aa
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -39,4 +39,9 @@ android_test {
        "android.test.base",
        "android.test.base",
        "android.test.mock",
        "android.test.mock",
    ],
    ],
    jni_libs: [
        // For mockito extended
        "libdexmakerjvmtiagent",
        "libstaticjvmtiagent",
    ],
}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -205,7 +205,7 @@ public class EthernetTetheringTest {
                requestWithStaticIpv4(localAddr, clientAddr));
                requestWithStaticIpv4(localAddr, clientAddr));


        mTetheringEventCallback.awaitInterfaceTethered();
        mTetheringEventCallback.awaitInterfaceTethered();
        assertInterfaceHasIpAddress(iface, clientAddr);
        assertInterfaceHasIpAddress(iface, localAddr);


        byte[] client1 = MacAddress.fromString("1:2:3:4:5:6").toByteArray();
        byte[] client1 = MacAddress.fromString("1:2:3:4:5:6").toByteArray();
        byte[] client2 = MacAddress.fromString("a:b:c:d:e:f").toByteArray();
        byte[] client2 = MacAddress.fromString("a:b:c:d:e:f").toByteArray();