Merge "Run testFilterAgeIncreasesBetweenPacketstest() when VSR API is higher" into main

This commit is contained in:
Yuyang Huang 2024-05-30 03:16:23 +00:00 • committed by Gerrit Code Review
commit 421aefadb9

View file

@ -498,6 +498,10 @@ class ApfIntegrationTest {
@IgnoreUpTo(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
@Test
fun testFilterAgeIncreasesBetweenPackets() {
// VSR-14 mandates APF to be turned on when the screen is off and the Wi-Fi link
// is idle or traffic is less than 10 Mbps. Before that, we don't mandate when the APF
// should be turned on.
assume().that(getVsrApiLevel()).isAtLeast(34)
assumeApfVersionSupportAtLeast(4)
clearApfMemory()
val gen = ApfV4Generator(4)