From a2918038fc24442614018f9af3c42620aec800f6 Mon Sep 17 00:00:00 2001 From: vadimt Date: Wed, 29 Mar 2023 12:53:13 -0700 Subject: [PATCH] Demoting WorkProfileTest#workTabExists from presubmit due to high flakiness Test: presubmit Bug: 243688989 Change-Id: I2edbd94a79d8f66e006ce0087bf4ab617e6ba041 --- tests/src/com/android/launcher3/ui/WorkProfileTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/src/com/android/launcher3/ui/WorkProfileTest.java b/tests/src/com/android/launcher3/ui/WorkProfileTest.java index 199653b613..b783d9104b 100644 --- a/tests/src/com/android/launcher3/ui/WorkProfileTest.java +++ b/tests/src/com/android/launcher3/ui/WorkProfileTest.java @@ -19,6 +19,8 @@ import static com.android.launcher3.LauncherState.ALL_APPS; import static com.android.launcher3.LauncherState.NORMAL; import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST; import static com.android.launcher3.testing.shared.TestProtocol.WORK_TAB_MISSING; +import static com.android.launcher3.util.rule.TestStabilityRule.LOCAL; +import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; @@ -37,6 +39,7 @@ import com.android.launcher3.allapps.WorkPausedCard; import com.android.launcher3.allapps.WorkProfileManager; import com.android.launcher3.tapl.LauncherInstrumentation; import com.android.launcher3.testing.shared.TestProtocol; +import com.android.launcher3.util.rule.TestStabilityRule.Stability; import org.junit.After; import org.junit.Before; @@ -113,6 +116,7 @@ public class WorkProfileTest extends AbstractLauncherUiTest { } @Test + @Stability(flavors = LOCAL | PLATFORM_POSTSUBMIT) // b/243688989 public void workTabExists() { assumeTrue(mWorkProfileSetupSuccessful); waitForWorkTabSetup();