commit | 1e4e64d96bb355bd5bd376263e8c715c329e0901 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Mar 02 12:57:28 2023 +0000 |
committer | Mike Yu <yumike@google.com> | Fri Mar 03 10:10:15 2023 +0000 |
tree | 42397ec19c3eddd8fdb9d12095198502576d02ae | |
parent | 6491342a06844c40dbb1d45aaaf25300af322d32 [diff] |
Test: Rewrite ResolverTest.KeepListeningUDP Rewrite the test for more test coverage, including - resnsend is tested as well. - a test scenario where DNS response is received during the second iteration of DNS servers. Bug: 271405311 Test: resolv_integration_test Change-Id: Idd93d30987a717d875723e598fb2435b620bcec2
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.