commit | b0d27faad1fbece438576b1057b80fadf36cb2fb | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu May 13 16:44:18 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Jun 16 16:54:31 2021 +0800 |
tree | 2c30d8ed16f84176d2dbaf31cb25007b76318034 | |
parent | 4b30ae6e87749bc30fc2ed20003100b0c202492c [diff] |
Add one more Revalidation unit test The test checks that the revalidation can retry probing until it succeeds. To do that, Private DNS validation backoff time is changable in PrivateDnsConfigurationTest. Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1708171 Bug: 79727473 Bug: 188153519 Test: Test: cd packages/modules/DnsResolver && atest Change-Id: I11fc8d9ee963dc54d051667971b51bfecd852a93 Merged-In: I11fc8d9ee963dc54d051667971b51bfecd852a93
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.