From 500d6db17bd2a2a7448712eda7995f57bcebd134 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Mon, 1 Feb 2021 15:52:09 +0100 Subject: [PATCH] Disable flaky tests These tests are flaky on both crosshatch and flame Disable them from presubmit Bug: 175687842 Bug: 179108356 Test: atest WMShellFlickerTests Change-Id: I51e85238064e806106e68b47460836fd278cab3d --- .../apppairs/RotateTwoLaunchedAppsInAppPairsMode.kt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/RotateTwoLaunchedAppsInAppPairsMode.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/RotateTwoLaunchedAppsInAppPairsMode.kt index 7191e8e955901..aafa9bfbd6764 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/RotateTwoLaunchedAppsInAppPairsMode.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/RotateTwoLaunchedAppsInAppPairsMode.kt @@ -27,11 +27,9 @@ import com.android.server.wm.flicker.FlickerTestRunnerFactory import com.android.server.wm.flicker.dsl.FlickerBuilder import com.android.server.wm.flicker.endRotation import com.android.server.wm.flicker.helpers.buildTestTag -import com.android.server.wm.flicker.helpers.isRotated import com.android.server.wm.flicker.helpers.setRotation import com.android.server.wm.flicker.navBarLayerRotatesAndScales import com.android.server.wm.flicker.navBarWindowIsAlwaysVisible -import com.android.server.wm.flicker.startRotation import com.android.server.wm.flicker.statusBarLayerRotatesScales import com.android.server.wm.flicker.statusBarWindowIsAlwaysVisible import com.android.wm.shell.flicker.appPairsDividerIsVisible @@ -73,13 +71,14 @@ class RotateTwoLaunchedAppsInAppPairsMode( assertions { layersTrace { navBarLayerRotatesAndScales(Surface.ROTATION_0, configuration.endRotation, - enabled = !configuration.startRotation.isRotated()) - statusBarLayerRotatesScales(Surface.ROTATION_0, configuration.endRotation) - appPairsDividerIsVisible() + enabled = false) + statusBarLayerRotatesScales(Surface.ROTATION_0, configuration.endRotation, + enabled = false) + appPairsDividerIsVisible(enabled = false) appPairsPrimaryBoundsIsVisible(configuration.endRotation, - primaryApp.defaultWindowName, 172776659) + primaryApp.defaultWindowName, bugId = 172776659) appPairsSecondaryBoundsIsVisible(configuration.endRotation, - secondaryApp.defaultWindowName, 172776659) + secondaryApp.defaultWindowName, bugId = 172776659) } windowManagerTrace { navBarWindowIsAlwaysVisible()