From 1ef65172fbaef4f84cb3f786092a7b0b68a0d680 Mon Sep 17 00:00:00 2001 From: Julien Desprez Date: Tue, 28 Feb 2023 18:55:00 +0000 Subject: [PATCH] Move CtsUsageStatsTestCases to "presubmit" group only They fit in there, no need to split across "presubmit-large" Change-Id: Ie8adddbaf1559e3286f8a623784607fe0e38af47 Test: presubmit Bug: 270214959 --- .../java/com/android/server/usage/TEST_MAPPING | 13 +------------ .../core/java/com/android/server/am/TEST_MAPPING | 4 +--- .../java/com/android/server/usage/TEST_MAPPING | 4 +--- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING b/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING index a6a3aafdb4f4..6a4a52a5658b 100644 --- a/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING +++ b/apex/jobscheduler/service/java/com/android/server/usage/TEST_MAPPING @@ -4,6 +4,7 @@ "name": "CtsUsageStatsTestCases", "options": [ {"include-filter": "android.app.usage.cts.UsageStatsTest"}, + {"include-filter": "android.app.usage.cts.BroadcastResponseStatsTest"}, {"exclude-annotation": "android.platform.test.annotations.FlakyTest"}, {"exclude-annotation": "androidx.test.filters.FlakyTest"}, {"exclude-annotation": "androidx.test.filters.MediumTest"}, @@ -19,18 +20,6 @@ ] } ], - "presubmit-large": [ - { - "name": "CtsUsageStatsTestCases", - "options": [ - {"include-filter": "android.app.usage.cts.BroadcastResponseStatsTest"}, - {"exclude-annotation": "android.platform.test.annotations.FlakyTest"}, - {"exclude-annotation": "androidx.test.filters.FlakyTest"}, - {"exclude-annotation": "androidx.test.filters.MediumTest"}, - {"exclude-annotation": "androidx.test.filters.LargeTest"} - ] - } - ], "postsubmit": [ { "name": "CtsUsageStatsTestCases" diff --git a/services/core/java/com/android/server/am/TEST_MAPPING b/services/core/java/com/android/server/am/TEST_MAPPING index e4f624d4ac28..263d19ace368 100644 --- a/services/core/java/com/android/server/am/TEST_MAPPING +++ b/services/core/java/com/android/server/am/TEST_MAPPING @@ -61,9 +61,7 @@ { "include-filter": "com.android.server.am.MeasuredEnergySnapshotTest" }, { "include-filter": "com.android.server.am.BatteryExternalStatsWorkerTest" } ] - } - ], - "presubmit-large": [ + }, { "name": "CtsUsageStatsTestCases", "file_patterns": [ diff --git a/services/usage/java/com/android/server/usage/TEST_MAPPING b/services/usage/java/com/android/server/usage/TEST_MAPPING index 1c0c71b65fd7..a3fe6f2876d7 100644 --- a/services/usage/java/com/android/server/usage/TEST_MAPPING +++ b/services/usage/java/com/android/server/usage/TEST_MAPPING @@ -18,9 +18,7 @@ "exclude-filter": "com.android.server.usage.StorageStatsServiceTest" } ] - } - ], - "presubmit-large": [ + }, { "name": "CtsUsageStatsTestCases", "options": [