[go: nahoru, domu]

FlakyTest annotation on flaky LocalesUpdateTestCase#testLayoutDirectionAfterRecreating

Bug: 255765202
Change-Id: I432391a4e809394368d7c4f9ea87b3b37866f102
diff --git a/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesUpdateTestCase.kt b/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesUpdateTestCase.kt
index 5bd08dc..3e48121 100644
--- a/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesUpdateTestCase.kt
+++ b/appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesUpdateTestCase.kt
@@ -26,6 +26,7 @@
 import androidx.appcompat.testutils.LocalesUtils.setLocalesAndWait
 import androidx.appcompat.testutils.LocalesUtils.setLocalesAndWaitForRecreate
 import androidx.core.os.LocaleListCompat
+import androidx.test.filters.FlakyTest
 import androidx.test.filters.LargeTest
 import androidx.test.filters.SdkSuppress
 import androidx.testutils.waitForExecution
@@ -118,6 +119,7 @@
 
     @SdkSuppress(minSdkVersion = 17)
     @Test
+    @FlakyTest(bugId = 255765202)
     fun testLayoutDirectionAfterRecreating() {
         setLocalesAndWaitForRecreate(rule, getRTLLocaleList())