commit | eedfcc8aca5ec80b852426fe3c89e3a3c69b530c | [log] [tgz] |
---|---|---|
author | Michael Wright <[email protected]> | Wed Jul 06 20:01:37 2022 +0100 |
committer | Michael Wright <[email protected]> | Wed Jul 06 20:01:37 2022 +0100 |
tree | 1cd65b7c8d46b35d7ea5b923049f8d5c2761a11c | |
parent | 085c27f7ef5f3432a6f7bd92a9c34c0a5ab1fa4f [diff] |
Mark testNotificationEvent_quotaBump as flaky. It currently is failing > 50% of the time on master. Also, actually configure the test runners to actually skip flaky tests. Most of these were still running despite being marked as @FlakyTest. Bug: 185169504 Test: atest AppStandbyControllerTests#testNotificationEvent_quotaBump Change-Id: I587f156a7296c80dd0d55fd9687de6bdcabb3895
diff --git a/services/tests/servicestests/AndroidTest.xml b/services/tests/servicestests/AndroidTest.xml index 0ce87d7..9052f58 100644 --- a/services/tests/servicestests/AndroidTest.xml +++ b/services/tests/servicestests/AndroidTest.xml
@@ -51,5 +51,6 @@ <option name="package" value="com.android.frameworks.servicestests" /> <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" /> <option name="hidden-api-checks" value="false"/> + <option name="exclude-annotation" value="androidx.test.filters.FlakyTest" /> </test> </configuration>
diff --git a/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java b/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java index c016406..308a4b6 100644 --- a/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java +++ b/services/tests/servicestests/src/com/android/server/usage/AppStandbyControllerTests.java
@@ -928,6 +928,7 @@ } @Test + @FlakyTest(bugId = 185169504) public void testNotificationEvent_quotaBump() throws Exception { mInjector.mSettingsBuilder .setBoolean("trigger_quota_bump_on_notification_seen", true);