From 0817bb290649257eeda2feed11e885a2bc6dbd1e Mon Sep 17 00:00:00 2001 From: Taras Antoshchuk Date: Wed, 2 Feb 2022 15:55:07 +0100 Subject: [PATCH] Fix HostsideVpnTest#testExcludedRoutes One of VpnTest#startVpn overloads didn't propagate "excludedRoutes" param, due to mistake during conflict resolution in aosp/1941233. Bug: 214398350 Test: atest HostsideVpnTests --iterations Change-Id: Icbbe7394f1ff1f676cc671a1fa1c4449f4d585e3 --- .../app/src/com/android/cts/net/hostside/VpnTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/cts/hostside/app/src/com/android/cts/net/hostside/VpnTest.java b/tests/cts/hostside/app/src/com/android/cts/net/hostside/VpnTest.java index 5778b0def8..7150918c4b 100755 --- a/tests/cts/hostside/app/src/com/android/cts/net/hostside/VpnTest.java +++ b/tests/cts/hostside/app/src/com/android/cts/net/hostside/VpnTest.java @@ -334,9 +334,8 @@ public class VpnTest { @Nullable ProxyInfo proxyInfo, @Nullable ArrayList underlyingNetworks, boolean isAlwaysMetered) throws Exception { - startVpn(addresses, routes, new String[0] /* excludedRoutes */, allowedApplications, - disallowedApplications, proxyInfo, underlyingNetworks, isAlwaysMetered, - false /* addRoutesByIpPrefix */); + startVpn(addresses, routes, excludedRoutes, allowedApplications, disallowedApplications, + proxyInfo, underlyingNetworks, isAlwaysMetered, false /* addRoutesByIpPrefix */); } private void startVpn(