diff options
author | 2023-07-17 23:11:20 -0700 | |
---|---|---|
committer | 2023-07-19 17:38:25 -0700 | |
commit | b32e5088b8871ecbe1b65d815f52ddd48f2ab00e (patch) | |
tree | 61d137f22a3a7a5ab141ab0e021f12ffa55a4244 /TEST_MAPPING | |
parent | ed7ad23f827dbc9c88331de0ba6fb2931b774d18 (diff) |
Only run flaky permissions test in postsubmit (PermissionController)
Certain tests in these test modules have a flake rate higher than 0.5%,
which means they are out-of-SLO for Project Ironwood. We've marked them
as @FlakyTest (in a separate change). But, in this change, we also
update the TEST_MAPPING files so that don't run any flaky tests
(i.e., annotated with @FlakyTest) in presubmit, but do run them in
postsubmit.
Test: Verify tests do not run in presubmit, but do in postsubmit
Bug: 290240321
Change-Id: I6ab0c47fb5fceedaf944b77c9c403d9c0c0145d0
Diffstat (limited to 'TEST_MAPPING')
-rw-r--r-- | TEST_MAPPING | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING index 313cfef76..8bee2edb6 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -6,7 +6,13 @@ ], "carpermission-presubmit" : [ { - "name" : "CtsPermissionUiTestCases" + "name" : "CtsPermissionUiTestCases", + "options": [ + { + "exclude-annotation": "android.platform.test.annotations.FlakyTest" + } + ] } ] + // TODO: Do we need to create a carpermission-postsubmit test-group? } |