From 49f492e28a6a447203d3b92d7869a39b345672d9 Mon Sep 17 00:00:00 2001 From: Vadim Tryshev Date: Fri, 18 Aug 2023 18:07:13 -0700 Subject: [PATCH] Demoting testSplitAppFromHomeWithItself from presubmit It flakes in 100% of runs on certain targets Bug: 295225524 Flag: N/A Test: presubmit Change-Id: I9d93db78154e834990ed82b95cadab359c2231ab --- .../src/com/android/quickstep/TaplTestsSplitscreen.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quickstep/tests/src/com/android/quickstep/TaplTestsSplitscreen.java b/quickstep/tests/src/com/android/quickstep/TaplTestsSplitscreen.java index dc7cb9d942..1aa7ab6059 100644 --- a/quickstep/tests/src/com/android/quickstep/TaplTestsSplitscreen.java +++ b/quickstep/tests/src/com/android/quickstep/TaplTestsSplitscreen.java @@ -16,6 +16,9 @@ package com.android.quickstep; +import static com.android.launcher3.util.rule.TestStabilityRule.LOCAL; +import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT; + import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assume.assumeTrue; @@ -27,6 +30,7 @@ import androidx.test.platform.app.InstrumentationRegistry; import com.android.launcher3.config.FeatureFlags; import com.android.launcher3.ui.PortraitLandscapeRunner.PortraitLandscape; import com.android.launcher3.ui.TaplTestsLauncher3; +import com.android.launcher3.util.rule.TestStabilityRule; import com.android.quickstep.TaskbarModeSwitchRule.TaskbarModeSwitch; import org.junit.After; @@ -71,6 +75,7 @@ public class TaplTestsSplitscreen extends AbstractQuickStepTest { @Test @PortraitLandscape @TaskbarModeSwitch + @TestStabilityRule.Stability(flavors = PLATFORM_POSTSUBMIT | LOCAL) // b/295225524 public void testSplitAppFromHomeWithItself() throws Exception { // Currently only tablets have Taskbar in Overview, so test is only active on tablets assumeTrue(mLauncher.isTablet());