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

Commit 114dab36 authored by paulhu's avatar paulhu
Browse files

Fix TetheringIntegrationTests failure

Bug: 150644681
Test: atest TetheringIntegrationTests
Change-Id: I5a537eca9b1aab3694a11a2dab147a31f289314c
parent 14a8cf0f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -39,4 +39,9 @@ android_test {
        "android.test.base",
        "android.test.mock",
    ],
    jni_libs: [
        // For mockito extended
        "libdexmakerjvmtiagent",
        "libstaticjvmtiagent",
    ],
}
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ public class EthernetTetheringTest {
                requestWithStaticIpv4(localAddr, clientAddr));

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

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