Ignore flaky test

Bug: 149046729
Test: atest NotificationRankingManagerTest
Change-Id: I76049c050cc760faf773ca15cb1a90700b031231
This commit is contained in:
Beverly
2020-02-28 09:52:55 -05:00
parent ee540c3245
commit 91fbdbb99c

View File

@@ -40,6 +40,7 @@ import com.android.systemui.statusbar.policy.HeadsUpManager
import dagger.Lazy
import junit.framework.Assert.assertEquals
import org.junit.Before
import org.junit.Ignore
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.mock
@@ -195,6 +196,7 @@ class NotificationRankingManagerTest : SysuiTestCase() {
assertEquals(listOf(b, a), rankingManager.updateRanking(null, listOf(a, b), "test"))
}
@Ignore // TODO: (b/149046729) fix test and re-enable
@Test
fun testSort_importantPeople() {
whenever(sectionsManager.isFilteringEnabled()).thenReturn(true)