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

Commit ff4e52f3 authored by David James's avatar David James
Browse files

Mark AppStateTrackerTest#testAllListeners as Flaky.

This test is ~10% flaky everywhere but git_master. Marking as flaky on aosp-master,  git_pi-dev-plus-aosp, and git_stage-aosp-master. I will roll back this change on git_master after it merges there.

Bug: b/114098433
Change-Id: I4d8365de4a4e2112848c9721836ca2289f7e2804
parent c78240df
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -85,6 +85,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import java.util.function.Consumer;


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


@@ -793,6 +794,7 @@ public class AppStateTrackerTest {
    }
    }


    @Test
    @Test
    @FlakyTest(bugId = 114098433)
    public void testAllListeners() throws Exception {
    public void testAllListeners() throws Exception {
        final AppStateTrackerTestable instance = newInstance();
        final AppStateTrackerTestable instance = newInstance();
        callStart(instance);
        callStart(instance);