From a592e23f4eebec1c17c2aabfca6aa52e3deb852d Mon Sep 17 00:00:00 2001 From: Pablo Gamito Date: Tue, 25 Jul 2023 16:40:40 +0000 Subject: [PATCH] Mark MovePipDownOnShelfHeightChange#pipLayerMovesDown as flaky Test: atest com.android.wm.shell.flicker.pip.MovePipDownOnShelfHeightChange Bug: 292813143 Change-Id: I4eb985cecafdf537331f7650ad27e8fbe06d1822 --- .../shell/flicker/pip/MovePipDownOnShelfHeightChange.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 421ad757f76ab..2993af7df6001 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 @@ class MovePipDownOnShelfHeightChange(flicker: LegacyFlickerTest) : } /** 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) }