Merge "Ignore flaky test" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-02-28 16:38:42 +00:00
committed by Android (Google) Code Review

View File

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