Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3968a53d authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Promote/demote stable/flaky flicker tests

Also downgrade all FASS assertions to flaky

Promote:
- stable postsubmit to presubmit
- stable flaky to postsubmit

Demote:
- unstable postsubmit to flaky

Test: atest FlickerTests WMShellFlickerTests

Change-Id: I9e43398b8b00286ce74d4c41505124512bed7eeb
parent 8e658052
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

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
@@ -82,7 +83,7 @@ class AppPairsTestCannotPairNonResizeableApps(
    @Test
    override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()

    @FlakyTest
    @Postsubmit
    @Test
    override fun statusBarLayerRotatesScales() {
        // This test doesn't work in shell transitions because of b/206753786
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

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
@@ -67,7 +68,7 @@ class AppPairsTestPairPrimaryAndSecondaryApps(
    @Test
    override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()

    @FlakyTest
    @Postsubmit
    @Test
    override fun statusBarLayerRotatesScales() {
        // This test doesn't work in shell transitions because of b/206753786
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

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
@@ -86,7 +87,7 @@ class AppPairsTestSupportPairNonResizeableApps(
    @Test
    override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()

    @FlakyTest
    @Postsubmit
    @Test
    override fun statusBarLayerRotatesScales() {
        // This test doesn't work in shell transitions because of b/206753786
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.wm.shell.flicker.apppairs

import android.os.SystemClock
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import androidx.test.filters.FlakyTest
import androidx.test.filters.RequiresDevice
@@ -71,7 +72,7 @@ class AppPairsTestUnpairPrimaryAndSecondaryApps(
    @Test
    override fun navBarLayerRotatesAndScales() = super.navBarLayerRotatesAndScales()

    @FlakyTest
    @Postsubmit
    @Test
    override fun statusBarLayerRotatesScales() {
        // This test doesn't work in shell transitions because of b/206753786
+2 −2
Original line number Diff line number Diff line
@@ -16,9 +16,9 @@

package com.android.wm.shell.flicker.apppairs

import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.FlakyTest
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.FlickerParametersRunnerFactory
import com.android.server.wm.flicker.FlickerTestParameter
@@ -87,7 +87,7 @@ class RotateTwoLaunchedAppsInAppPairsMode(
        testSpec.appPairsPrimaryBoundsIsVisibleAtEnd(testSpec.endRotation,
            primaryApp.component)

    @FlakyTest
    @Postsubmit
    @Test
    fun appPairsSecondaryBoundsIsVisibleAtEnd() =
        testSpec.appPairsSecondaryBoundsIsVisibleAtEnd(testSpec.endRotation,
Loading