Mark AppStandbyControllerTests#testEnabledState as Flaky.

This test is ~2% flaky on git_master. Mark as flaky temporarily.
It is not flaky on AOSP so we are leaving it enabled there.

Bug: b/119774928
Change-Id: I4d8365de4a4e2112848c9721836ca2289f7e2804
This commit is contained in:
David James
2019-01-13 21:05:49 +00:00
parent 485251a185
commit 3bd6d2e4bd

View File

@@ -61,6 +61,7 @@ import android.util.ArraySet;
import android.view.Display;
import androidx.test.InstrumentationRegistry;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;
@@ -416,6 +417,7 @@ public class AppStandbyControllerTests {
}
@Test
@FlakyTest(bugId = 119774928)
public void testEnabledState() throws Exception {
TestParoleListener paroleListener = new TestParoleListener();
mController.addListener(paroleListener);