Increase testReadWriteProgram() timeout to 15 minutes
Extended the timeout of ApfIntegrationTest#testReadWriteProgram() to 15
minutes to accommodate devices with larger APF memory (e.g., 4K RAM).
Example run on a device with 4K APF RAM:
[1/1] android.net.cts.ApfIntegrationTest#testReadWriteProgram: PASSED (09m47.451s)
Bug: 346707554
Test: TH
Change-Id: I063abe285e061edf3a0d338ba7233a08be03c9b4
diff --git a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
index 0b6637d..086f0e7 100644
--- a/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
+++ b/tests/cts/net/src/android/net/cts/ApfIntegrationTest.kt
@@ -361,7 +361,8 @@
@SkipPresubmit(reason = "This test takes longer than 1 minute, do not run it on presubmit.")
// APF integration is mostly broken before V, only run the full read / write test on V+.
@IgnoreUpTo(Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
- @Test
+ // Increase timeout for test to 15 minutes to accommodate device with large APF RAM.
+ @Test(timeout = 15 * 60 * 1000)
fun testReadWriteProgram() {
assumeApfVersionSupportAtLeast(4)