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

Commit b90866d4 authored by Guang Zhu's avatar Guang Zhu
Browse files

Mark 3 tests as flaky.

Bug: 140306320
Bug: 140305589
Bug: 140305678
Test: apct/net/networking_framework_unit_test
Change-Id: I5a288d7d64b3e95e0025c2c1f4a64ffe85cc3cd6
parent 4c322503
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -184,6 +184,7 @@ import android.util.Log;
import android.util.SparseArray;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;

@@ -2187,6 +2188,7 @@ public class ConnectivityServiceTest {
    }

    @Test
    @FlakyTest(bugId = 140306320)
    public void testPartialConnectivity() throws Exception {
        // Register network callback.
        NetworkRequest request = new NetworkRequest.Builder()
@@ -3633,6 +3635,7 @@ public class ConnectivityServiceTest {
    }

    @Test
    @FlakyTest(bugId = 140305589)
    public void testPacketKeepalives() throws Exception {
        InetAddress myIPv4 = InetAddress.getByName("192.0.2.129");
        InetAddress notMyIPv4 = InetAddress.getByName("192.0.2.35");
@@ -5698,6 +5701,7 @@ public class ConnectivityServiceTest {
    }

    @Test
    @FlakyTest(bugId = 140305678)
    public void testTcpBufferReset() throws Exception {
        final String testTcpBufferSizes = "1,2,3,4,5,6";