Mark MovePipDownOnShelfHeightChange#pipLayerMovesDown as flaky
Test: atest com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange
Bug: 292813143
Change-Id: I4eb985cecafdf537331f7650ad27e8fbe06d1822
diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/MovePipDownOnShelfHeightChange.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/MovePipDownOnShelfHeightChange.kt
index 421ad75..2993af7 100644
--- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/MovePipDownOnShelfHeightChange.kt
+++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/MovePipDownOnShelfHeightChange.kt
@@ -16,6 +16,7 @@
package com.android.wm.shell.flicker.pip
+import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Presubmit
import android.tools.device.flicker.junit.FlickerParametersRunnerFactory
import android.tools.device.flicker.legacy.FlickerBuilder
@@ -63,8 +64,11 @@
}
/** Checks that the visible region of [pipApp] window always moves down during the animation. */
- @Presubmit @Test fun pipWindowMovesDown() = pipWindowMoves(Direction.DOWN)
+ @FlakyTest(bugId = 292813143) @Test fun pipWindowMovesDown() = pipWindowMoves(Direction.DOWN)
/** Checks that the visible region of [pipApp] layer always moves down during the animation. */
- @Presubmit @Test fun pipLayerMovesDown() = pipLayerMoves(Direction.DOWN)
+ @FlakyTest(bugId = 292813143)
+ @Presubmit
+ @Test
+ fun pipLayerMovesDown() = pipLayerMoves(Direction.DOWN)
}