commit | 78f48c31a32729e45ad2513023528388754641fe | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Sep 10 17:01:42 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Sep 10 17:57:20 2021 +0800 |
tree | c2d008e9083790eb8901227a248530ffe4cb4b10 | |
parent | 03e4903f3759ff6a5e1060bcb04e3f9e7a23e31d [diff] |
Fix flaky test PrivateDnsDohTest.PreferIpv6 doh_ipv6.startServer() fails at binding the address if the address hasn't been released. Change the test to bind the address once only. Bug: 198111329 Test: PrivateDnsDohTest.ValidationFail 500 times passed on cuttlefish Change-Id: I6b347528927ec3afc7eddfa31784c1f34e4e7661
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.