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

Commit 0bbf383f 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: Ia4201978be6a7617884fa51afe8db8ae64e63c90
parent afcd2393
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
            "name": "CtsAppOpsTestCases",
            "options": [
                {
                    "exclude-annotation": "android.platform.test.annotations.FlakyTest"
                    "exclude-annotation": "androidx.test.filters.FlakyTest"
                }
            ]
        },
+0 −3
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
      "name": "FrameworksVibratorCoreTests",
      "options": [
        {"exclude-annotation": "androidx.test.filters.LargeTest"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
@@ -21,7 +20,6 @@
      "name": "FrameworksVibratorServicesTests",
      "options": [
        {"exclude-annotation": "androidx.test.filters.LargeTest"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
@@ -34,7 +32,6 @@
      "name": "CtsVibratorTestCases",
      "options": [
        {"exclude-annotation": "androidx.test.filters.LargeTest"},
        {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
        {"exclude-annotation": "androidx.test.filters.FlakyTest"},
        {"exclude-annotation": "org.junit.Ignore"}
      ]
+0 −6
Original line number Diff line number Diff line
@@ -3,9 +3,6 @@
    {
      "name": "CtsNotificationTestCases",
      "options": [
        {
          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        },
@@ -20,9 +17,6 @@
    {
      "name": "FrameworksUiServicesTests",
      "options": [
        {
          "exclude-annotation": "android.platform.test.annotations.FlakyTest"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        },
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
      "name": "CtsTextTestCases",
      "options": [
          {
              "exclude-annotation": "android.platform.test.annotations.FlakyTest"
              "exclude-annotation": "androidx.test.filters.FlakyTest"
          },
          {
              "exclude-annotation": "androidx.test.filters.LargeTest"
+2 −2
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
      "name": "CtsRoleTestCases",
      "options": [
          {
              "exclude-annotation": "android.platform.test.annotations.FlakyTest"
              "exclude-annotation": "androidx.test.filters.FlakyTest"
          }
      ]
    },
@@ -15,7 +15,7 @@
            "include-filter": "android.permission.cts.PermissionControllerTest"
          },
          {
            "exclude-annotation": "android.platform.test.annotations.FlakyTest"
            "exclude-annotation": "androidx.test.filters.FlakyTest"
          }
      ]
    },
Loading