Speed up network event generation in NetworkLoggingTest
Currently depending on DNS, network, and server behavior requests may
require too much time to be served, causing test timeout e.g. when
one of Google servers used starts returning robot-check or refusing
connections. With this CL most of the events are generated via local
server.
Bug: 67833338
Test: cts-tradefed run it cts -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
Change-Id: I92b19000bd9359e80efd714c1a0c470d79db191b
1 file changed