Disable NetworkStatsHistory builder test in tm-dev
The test cannot be run in tm-dev because tm-dev
use prebuilt mainline module, which does not include
the solution in previous patch yet. Hence, disable
the test temporarily.
Ignore-AOSP-First: Base change not in AOSP, will cherry-pick
immediately after
Test: atest android.net.netstats.NetworkStatsHistoryTest
Bug: 233825704
Change-Id: I770a10bfd1b3b2068b2e116207bd6cdbecf9face
Merged-In: Ib2fbd3c7703e9ed606650643db6e1977f550d90d
This commit is contained in:
parent
25c6d60f8a
commit
04075c2af2
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ import androidx.test.filters.SmallTest
|
|||
import com.android.testutils.ConnectivityModuleTest
|
||||
import com.android.testutils.DevSdkIgnoreRule
|
||||
import com.android.testutils.SC_V2
|
||||
import org.junit.Ignore
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
import org.junit.runner.RunWith
|
||||
|
|
@ -36,6 +37,7 @@ class NetworkStatsHistoryTest {
|
|||
@JvmField
|
||||
val ignoreRule = DevSdkIgnoreRule(ignoreClassUpTo = SC_V2)
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun testBuilder() {
|
||||
val entry1 = NetworkStatsHistory.Entry(10, 30, 40, 4, 50, 5, 60)
|
||||
|
|
@ -61,6 +63,7 @@ class NetworkStatsHistoryTest {
|
|||
statsMultiple.assertEntriesEqual(entry3, entry1, entry2)
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
fun testBuilderSortAndDeduplicate() {
|
||||
val entry1 = NetworkStatsHistory.Entry(10, 30, 40, 4, 50, 5, 60)
|
||||
|
|
|
|||
Loading…
Reference in a new issue