summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2022-03-10 14:15:04 -0500
committerMatt Pietal <mpietal@google.com>2022-03-10 19:17:02 +0000
commit5c85eadaa825b57ca63b6131215b65187a116ed7 (patch)
tree3f83c79c834c032fca56a9ec465bc8c494faf050
parent5b2e8af805e559c484f4c17d96459a3284d48824 (diff)
downloadbase-5c85eadaa825b57ca63b6131215b65187a116ed7.tar.gz
[DO NOT MERGE] Ignore flaky tests
Until a better fix can be found. Fixes: 223385977 Test: atest KeyguardViewMediatorTest Change-Id: I9579f5e0fa15a40d8977919029e9d72bdb981b69
-rw-r--r--packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java
index ad0878031679..a21e17fd5a40 100644
--- a/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java
+++ b/packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java
@@ -61,6 +61,7 @@ import com.android.systemui.util.concurrency.FakeExecutor;
import com.android.systemui.util.time.FakeSystemClock;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -129,6 +130,7 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
mViewMediator.onSystemReady();
}
+ @Ignore("flaky, b/223385977")
@Test
public void testOnGoingToSleep_UpdatesKeyguardGoingAway() {
mViewMediator.onStartedGoingToSleep(OFF_BECAUSE_OF_USER);
@@ -136,12 +138,14 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean());
}
+ @Ignore("flaky, b/223385977")
@Test
public void testRegisterDumpable() {
verify(mDumpManager).registerDumpable(KeyguardViewMediator.class.getName(), mViewMediator);
verify(mStatusBarKeyguardViewManager, never()).setKeyguardGoingAwayState(anyBoolean());
}
+ @Ignore("flaky, b/223385977")
@Test
public void testKeyguardGone_notGoingaway() {
mViewMediator.mViewMediatorCallback.keyguardGone();