commit | 6a9683b95ce80ff50543b7337cf984b278cf1256 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Mar 09 17:45:07 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Mar 09 17:59:25 2021 +0800 |
tree | b084a8a06166307c797b9650fab40461ef9e3557 | |
parent | 403771af7b93ba3305e97ccd61adb51cbaee9833 [diff] |
Remove averageTime check in DnsServerSelection test The test is flaky because averageTime is sometimes over than 20ms. Ensuring dns1Count > dns2Count > dns3Count should be basically enough to ensure the feature's effectiveness. Bug: 182085418 Bug: 180530890 Test: ResolverTest.DnsServerSelection passed Change-Id: Ia18ee2dbe4d2f6db279ca869040017296a94f1ba
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.