Remove the flaky Conditionals test.

This test seems to be flaky for quite a while. The method tested runs
the check using a FutureTask which may sometimes hit the timeout issue,
so it seems not that suitable to do the test.

Fixes: 176274700
Test: robotest
Change-Id: I1bf979f4a792d76da01bfa82355ccf8f659dc6f8
This commit is contained in:
Yi-Ling Chuang
2020-12-24 16:54:00 +08:00
parent a12003a9ac
commit 54d84c56b5

View File

@@ -66,13 +66,6 @@ public class ConditionManagerTest {
assertThat(mManager.getDisplayableCards()).isEmpty();
}
@Test
public void getDisplayableCards_hasDisplayable() {
when(mController.isDisplayable()).thenReturn(true);
assertThat(mManager.getDisplayableCards()).hasSize(1);
}
@Test
public void onPrimaryClick_shouldRelayToController() {
mManager.onPrimaryClick(mContext, ID);