Merge "Verify bypassability in the VPN network capabilities"

This commit is contained in:
Chiachang Wang
2022-11-16 05:57:00 +00:00
committed by Gerrit Code Review

View File

@@ -1853,6 +1853,7 @@ public class VpnTest extends VpnTestBase {
// Check if allowBypass is set or not.
assertTrue(nacCaptor.getValue().isBypassableVpn());
assertTrue(((VpnTransportInfo) ncCaptor.getValue().getTransportInfo()).getBypassable());
return new PlatformVpnSnapshot(vpn, nwCb, ikeCb, childCb);
}