[automerge] [DO NOT MERGE] Ignore flaky tests 2p: 5c85eadaa8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17159706

Change-Id: Ia0867ce4a3efe2dfa89c606ccf0a2544ac9be097
This commit is contained in:
Matt Pietal
2022-03-10 19:17:11 +00:00
committed by Presubmit Automerger Backend

View File

@@ -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;
@@ -128,6 +129,7 @@ public class KeyguardViewMediatorTest extends SysuiTestCase {
mViewMediator.start();
}
@Ignore("flaky, b/223385977")
@Test
public void testOnGoingToSleep_UpdatesKeyguardGoingAway() {
mViewMediator.onStartedGoingToSleep(OFF_BECAUSE_OF_USER);
@@ -135,12 +137,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();