commit | c685d5db98949df87384f2580405379809289be2 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Mon Aug 08 12:13:45 2022 +0800 |
committer | Ken Chen <cken@google.com> | Mon Aug 08 12:47:16 2022 +0800 |
tree | c9bb500ee08ef62309b1aa9e6b8fcae9a7aaf651 | |
parent | 367181b61b3166082bac4d477e456dc3bc52e352 [diff] |
Set IPv6 route for mdns tests Just as we added a v4 route for mdns tests, a v6 routes is also required. It can pass the test previously is because of the existence of mdnsd. If the mdnsd is terminated by other tests, such as CtsNetTestCasesMaxTargetSdk30, and netd_integration_test is run after them, the .local tests in the DNS resolver will fail. Bug: 240888834 Test: atest CtsNetTestCasesMaxTargetSdk30 resolv_integration_test Change-Id: Ib7e91a19077b5ff1d87bd429c82440cfaf870470
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.