From 73e2773099d05d575da331c1de0a4e35e70be0b3 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Tue, 27 Apr 2021 14:52:41 +0200 Subject: [PATCH] Disable flaky pip/app close tests (flicker) Some tests are still flaky and affecting presubmit Bug: 185400889 Test: atest FlickerTests WMShellFlickerTests Change-Id: I477799646791c69b71c6f29d71e87caba900a983 --- .../src/com/android/wm/shell/flicker/pip/PipRotationTest.kt | 6 +++--- .../android/server/wm/flicker/close/CloseAppTransition.kt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipRotationTest.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipRotationTest.kt index 0d686f514116f..fb7dac35a60a9 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipRotationTest.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/PipRotationTest.kt @@ -71,7 +71,7 @@ class PipRotationTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) } } - @Presubmit + @FlakyTest(bugId = 185400889) @Test override fun noUncoveredRegions() = testSpec.noUncoveredRegions(testSpec.config.startRotation, testSpec.config.endRotation, allStates = false) @@ -88,7 +88,7 @@ class PipRotationTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) testSpec.statusBarLayerRotatesScales(testSpec.config.startRotation, testSpec.config.endRotation) - @Presubmit + @FlakyTest(bugId = 185400889) @Test fun appLayerRotates_StartingBounds() { testSpec.assertLayersStart { @@ -97,7 +97,7 @@ class PipRotationTest(testSpec: FlickerTestParameter) : PipTransition(testSpec) } } - @Presubmit + @FlakyTest(bugId = 185400889) @Test fun appLayerRotates_EndingBounds() { testSpec.assertLayersEnd { diff --git a/tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppTransition.kt b/tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppTransition.kt index 9ac504ba3e6fd..96c7c0a4ae201 100644 --- a/tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppTransition.kt +++ b/tests/FlickerTests/src/com/android/server/wm/flicker/close/CloseAppTransition.kt @@ -116,7 +116,7 @@ abstract class CloseAppTransition(protected val testSpec: FlickerTestParameter) } } - @Presubmit + @FlakyTest(bugId = 185400889) @Test open fun noUncoveredRegions() { testSpec.noUncoveredRegions(testSpec.config.startRotation, Surface.ROTATION_0) @@ -134,7 +134,7 @@ abstract class CloseAppTransition(protected val testSpec: FlickerTestParameter) testSpec.launcherWindowBecomesVisible() } - @Presubmit + @FlakyTest(bugId = 185400889) @Test open fun launcherLayerReplacesApp() { testSpec.launcherLayerReplacesApp(testApp)