From c8bae0ab714f0732543a075569579cf3ec027372 Mon Sep 17 00:00:00 2001 From: vadimt Date: Mon, 2 Mar 2020 13:35:55 -0800 Subject: [PATCH] Disabling failing test Change-Id: I5989ce406c66834b77ff4bd073cd3ad92df9fda2 --- .../src/com/android/quickstep/DigitalWellBeingToastTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java b/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java index 3e84a76695..9a053f2f62 100644 --- a/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java +++ b/quickstep/tests/src/com/android/quickstep/DigitalWellBeingToastTest.java @@ -3,6 +3,8 @@ package com.android.quickstep; import static androidx.test.InstrumentationRegistry.getInstrumentation; import static com.android.launcher3.LauncherState.OVERVIEW; +import static com.android.launcher3.util.rule.TestStabilityRule.PLATFORM_POSTSUBMIT; +import static com.android.launcher3.util.rule.TestStabilityRule.UNBUNDLED_POSTSUBMIT; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; @@ -16,6 +18,7 @@ import androidx.test.filters.LargeTest; import androidx.test.runner.AndroidJUnit4; import com.android.launcher3.Launcher; +import com.android.launcher3.util.rule.TestStabilityRule; import com.android.quickstep.views.DigitalWellBeingToast; import com.android.quickstep.views.RecentsView; import com.android.quickstep.views.TaskView; @@ -32,6 +35,8 @@ public class DigitalWellBeingToastTest extends AbstractQuickStepTest { resolveSystemApp(Intent.CATEGORY_APP_CALCULATOR); @Test + // b/150303529 + @TestStabilityRule.Stability(flavors = UNBUNDLED_POSTSUBMIT | PLATFORM_POSTSUBMIT) public void testToast() throws Exception { startAppFast(CALCULATOR_PACKAGE);