commit | 8821a4b3e6e16cea65c72b0a5e2c4ec18295eadd | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Mar 23 17:27:30 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Apr 08 02:30:37 2021 +0000 |
tree | 68f77c4cde6fd63c0d1a884d7179c7b342d09a75 | |
parent | 0841e31bc0670612438b52bfd921799b5a4f987f [diff] |
Loose the packet count check in DnsServerSelection To prioritize the DNS servers, the test sends 50 sequential DNS queries. The number seems not enough when the RTT of the DNS server is too higher than the test expects. Bug: 183467297 Test: ResolverTest.DnsServerSelection passed Change-Id: Id2fa97fd1bede4fcbe852772c76a7cefd6966a89
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.