commit | d912c2a30f92f4759276ccd4e2068cc56a7e4c38 | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Wed Jan 10 17:20:27 2024 +0800 |
committer | Junyu Lai <junyulai@google.com> | Wed Jan 10 17:20:27 2024 +0800 |
tree | b97eef7aa51e2ef2badefd8e7dfa754bb31d8ed6 | |
parent | 62ea7cc3764adf23cd0e06eec2494440126172f3 [diff] |
Support multiple addresses for PacketBridge Test: atest NetworkStackIntegrationTests:android.net.NetworkStatsIntegrationTest Bug: N/A Change-Id: I253265fe25078693855430855093d2169a3c5ccc
diff --git a/tests/integration/signature/android/net/NetworkStatsIntegrationTest.kt b/tests/integration/signature/android/net/NetworkStatsIntegrationTest.kt index 5bece8d..2e52e3f 100644 --- a/tests/integration/signature/android/net/NetworkStatsIntegrationTest.kt +++ b/tests/integration/signature/android/net/NetworkStatsIntegrationTest.kt
@@ -99,7 +99,7 @@ private val inst = InstrumentationRegistry.getInstrumentation() private val context = inst.getContext() private val packetBridge = runAsShell(MANAGE_TEST_NETWORKS) { - PacketBridge(context, LOCAL_V6ADDR, REMOTE_V6ADDR.address) + PacketBridge(context, listOf(LOCAL_V6ADDR), REMOTE_V6ADDR.address) } private val cm = context.getSystemService(ConnectivityManager::class.java)!!