Merge "Exclude flaky annoatated tests" into tm-qpr-dev

This commit is contained in:
Sam Dubey
2023-01-19 15:57:45 +00:00
committed by Android (Google) Code Review

View File

@@ -16,6 +16,9 @@
}, },
{ {
"exclude-annotation": "android.platform.test.annotations.Postsubmit" "exclude-annotation": "android.platform.test.annotations.Postsubmit"
},
{
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
} }
] ]
} }
@@ -72,16 +75,16 @@
// Curious where your @Scenario tests will run? // Curious where your @Scenario tests will run?
// //
// @Ignore: nowhere // @Ignore: nowhere
// @Staging or @FlakyTest: in staged-postsubmit, but not postsubmit or // @FlakyTest: in staged-postsubmit, but not blocking postsubmit or
// presubmit // presubmit
// @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit // @Postsubmit: in postsubmit and staged-postsubmit, but not presubmit
// none of the above: in presubmit, postsubmit, and staged-postsubmit // none of the above: in presubmit, postsubmit, and staged-postsubmit
// //
// Therefore, please annotate new tests with @Staging, then with @Postsubmit // Ideally, please annotate new tests with @FlakyTest, then with @Postsubmit
// once they're ready for postsubmit, then with neither once they're ready // once they're ready for postsubmit as they will immediately block go/android-platinum,
// for presubmit. // then with neither once they're ready for presubmit.
// //
// If you don't use @Staging or @Postsubmit, your new test will immediately // If you don't use @Postsubmit, your new test will immediately
// block presubmit, which is probably not what you want! // block presubmit, which is probably not what you want!
"sysui-platinum-postsubmit": [ "sysui-platinum-postsubmit": [
{ {
@@ -98,6 +101,9 @@
}, },
{ {
"exclude-annotation": "androidx.test.filters.FlakyTest" "exclude-annotation": "androidx.test.filters.FlakyTest"
},
{
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
} }
] ]
} }
@@ -130,6 +136,9 @@
}, },
{ {
"include-filter": "android.platform.test.scenario.sysui" "include-filter": "android.platform.test.scenario.sysui"
},
{
"exclude-annotation": "android.platform.test.annotations.FlakyTest"
} }
] ]
} }