From ff4e52f31d7a49d950a1bdcd052b405b6b0f5185 Mon Sep 17 00:00:00 2001 From: David James Date: Sun, 13 Jan 2019 20:58:17 +0000 Subject: [PATCH] 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 --- .../src/com/android/server/AppStateTrackerTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/tests/mockingservicestests/src/com/android/server/AppStateTrackerTest.java b/services/tests/mockingservicestests/src/com/android/server/AppStateTrackerTest.java index c8e67820ce46..4a48468867df 100644 --- a/services/tests/mockingservicestests/src/com/android/server/AppStateTrackerTest.java +++ b/services/tests/mockingservicestests/src/com/android/server/AppStateTrackerTest.java @@ -85,6 +85,7 @@ import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; +import androidx.test.filters.FlakyTest; import androidx.test.filters.SmallTest; import androidx.test.runner.AndroidJUnit4; @@ -793,6 +794,7 @@ public class AppStateTrackerTest { } @Test + @FlakyTest(bugId = 114098433) public void testAllListeners() throws Exception { final AppStateTrackerTestable instance = newInstance(); callStart(instance); -- GitLab