From 12e300d40238fc9362e7c6322ded856cc33c2126 Mon Sep 17 00:00:00 2001 From: Nataniel Borges Date: Tue, 7 Dec 2021 15:41:09 +0100 Subject: [PATCH] Promote/demote flicker tests Promote stable postsubmit to presubmit Demote unstable postsubmit to flaky Demote fass assertions to flaky Test: atest FlickerTests WMShellFlickerTests Change-Id: Ib652d9951794b7bf27ffcfd16f4f342bfbf2b2e2 --- .../apppairs/AppPairsTestPairPrimaryAndSecondaryApps.kt | 3 +-- .../flicker/pip/SetRequestedOrientationWhilePinnedTest.kt | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/AppPairsTestPairPrimaryAndSecondaryApps.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/AppPairsTestPairPrimaryAndSecondaryApps.kt index 1a3e42cbe04cb..20a94750021db 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/AppPairsTestPairPrimaryAndSecondaryApps.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/apppairs/AppPairsTestPairPrimaryAndSecondaryApps.kt @@ -16,7 +16,6 @@ package com.android.wm.shell.flicker.apppairs -import android.platform.test.annotations.Postsubmit import android.platform.test.annotations.Presubmit import androidx.test.filters.FlakyTest import androidx.test.filters.RequiresDevice @@ -68,7 +67,7 @@ class AppPairsTestPairPrimaryAndSecondaryApps( @Test override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales() - @Postsubmit + @Presubmit @Test override fun statusBarLayerRotatesScales() { // This test doesn't work in shell transitions because of b/206753786 diff --git a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/SetRequestedOrientationWhilePinnedTest.kt b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/SetRequestedOrientationWhilePinnedTest.kt index 32109764bb0e0..2a53bef8cf2ed 100644 --- a/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/SetRequestedOrientationWhilePinnedTest.kt +++ b/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/SetRequestedOrientationWhilePinnedTest.kt @@ -16,7 +16,6 @@ package com.android.wm.shell.flicker.pip -import android.platform.test.annotations.Postsubmit import android.platform.test.annotations.Presubmit import android.view.Surface import androidx.test.filters.FlakyTest @@ -96,7 +95,7 @@ class SetRequestedOrientationWhilePinnedTest( super.statusBarLayerRotatesScales() } - @Postsubmit + @Presubmit @Test fun pipWindowInsideDisplay() { testSpec.assertWmStart { @@ -112,7 +111,7 @@ class SetRequestedOrientationWhilePinnedTest( } } - @Postsubmit + @Presubmit @Test fun pipLayerInsideDisplay() { testSpec.assertLayersStart { @@ -126,7 +125,7 @@ class SetRequestedOrientationWhilePinnedTest( this.isAppWindowVisible(pipApp.component) } - @Postsubmit + @Presubmit @Test fun pipAppLayerCoversFullScreen() { testSpec.assertLayersEnd {