Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fab2348 authored by Anna Zhuravleva's avatar Anna Zhuravleva
Browse files

Use androidx FlakyTest annotation for device tests.

Platform_testing large test annotation is for
host side tests and restricted, device tests should use
androidx annotation.

Bug: 293837621
Test: presubmit
Change-Id: Ia5faeed2d4cec8c135ea37d5b0d45a338830fec0
parent afcd2393
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
          "include-filter": "android.hardware.input.cts.tests"
        },
        {
          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        }
      ],
      "file_patterns": ["Virtual[^/]*\\.java"]
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
            "name": "DisplayServiceTests",
            "options": [
                {"include-filter": "com.android.server.display"},
                {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
                {"exclude-annotation": "androidx.test.filters.FlakyTest"},
                {"exclude-annotation": "org.junit.Ignore"}
            ]
+2 −4
Original line number Diff line number Diff line
@@ -4,16 +4,14 @@
      "name": "CtsHardwareTestCases",
      "options": [
        {"include-filter": "com.android.hardware.lights"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.LargeTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"}
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.LargeTest"}
      ]
    },
    {
      "name": "FrameworksServicesTests",
      "options": [
        {"include-filter": "com.android.server.lights"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"}
      ]
    }
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
                    "include-annotation": "com.android.cts.devicepolicy.annotations.LockSettingsTest"
                },
                {
                    "exclude-annotation": "android.platform.test.annotations.FlakyTest"
                    "exclude-annotation": "androidx.test.filters.FlakyTest"
                }
            ]
        }
@@ -20,7 +20,7 @@
                    "include-filter": "com.android.server.locksettings."
                },
                {
                    "exclude-annotation": "android.platform.test.annotations.FlakyTest"
                    "exclude-annotation": "androidx.test.filters.FlakyTest"
                }
            ]
        }
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
      "name": "FrameworksServicesTests",
      "options": [
        {"include-filter": "com.android.server.logcat"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"}
      ]
    }
Loading