From ff03b44bbe79da2679c038fef67439c17a573921 Mon Sep 17 00:00:00 2001 From: Dipankar Bhardwaj Date: Tue, 13 Feb 2024 11:58:37 +0000 Subject: Ignore flaky test in PRESUBMIT Change-Id: I70699adae5e55c10585e072b952b49bd9af2b493 Test: n/a Bug: 324549885 --- TEST_MAPPING | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 13 deletions(-) (limited to 'TEST_MAPPING') diff --git a/TEST_MAPPING b/TEST_MAPPING index 53884ab93..60f2f9d13 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -6,29 +6,67 @@ { // Ignore the tests with @RunOnlyOnPostsubmit annotation "exclude-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" } ] }, { - "name": "CtsScopedStorageCoreHostTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageCoreHostTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageHostTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageHostTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageDeviceOnlyTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageDeviceOnlyTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageBypassDatabaseOperationsTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageBypassDatabaseOperationsTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageGeneralTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageGeneralTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageRedactUriTest[com.google.android.mediaprovider.apex]" + "name": "CtsScopedStorageRedactUriTest[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsMediaProviderTranscodeTests[com.google.android.mediaprovider.apex]" + "name": "CtsMediaProviderTranscodeTests[com.google.android.mediaprovider.apex]", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] } ], "presubmit": [ @@ -38,6 +76,9 @@ { // Ignore the tests with @RunOnlyOnPostsubmit annotation "exclude-annotation": "com.android.providers.media.library.RunOnlyOnPostsubmit" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" } ] }, @@ -66,22 +107,52 @@ "name": "AdoptableHostTest" }, { - "name": "CtsScopedStorageCoreHostTest" + "name": "CtsScopedStorageCoreHostTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageHostTest" + "name": "CtsScopedStorageHostTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageDeviceOnlyTest" + "name": "CtsScopedStorageDeviceOnlyTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageBypassDatabaseOperationsTest" + "name": "CtsScopedStorageBypassDatabaseOperationsTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageGeneralTest" + "name": "CtsScopedStorageGeneralTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { - "name": "CtsScopedStorageRedactUriTest" + "name": "CtsScopedStorageRedactUriTest", + "options": [ + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + } + ] }, { "name": "fuse_node_test" -- cgit v1.2.3-59-g8ed1b