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
Merged-In: I587f156a7296c80dd0d55fd9687de6bdcabb3895
Change-Id: I587f156a7296c80dd0d55fd9687de6bdcabb3895
(cherry picked from commit eedfcc8aca)
This commit is contained in:
Michael Wright
2022-07-06 20:01:37 +01:00
parent 3bf28cdf42
commit db242cff39
2 changed files with 2 additions and 0 deletions

View File

@@ -50,5 +50,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>

View File

@@ -928,6 +928,7 @@ public class AppStandbyControllerTests {
}
@Test
@FlakyTest(bugId = 185169504)
public void testNotificationEvent_quotaBump() throws Exception {
mInjector.mSettingsBuilder
.setBoolean("trigger_quota_bump_on_notification_seen", true);