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
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user