commit | 9b7209f7e5db0c81d0a9e33cedb6fb15c1b33ae6 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Jan 20 16:47:28 2022 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Jan 20 16:59:35 2022 +0800 |
tree | 7a97ab2d230c86fe92f5645f87919496d6289bf9 | |
parent | bf63150f6af3048727711b4d852ed15563d3d3ea [diff] |
Fix flaky test DnsServerSelection by increasing the server latency Increase the dns2's latency and dns3's latency to make the test more stable when someone runs the test on a slow machine. Accordingly, the running time of this test will increase by around 300 ms. Bug: 214880307 Test: ran ResolverTest.DnsServerSelection Change-Id: If4e006e9b705f11b1ab457abd25f28155b177358
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.