commit | b3505420024d772a5d383d3bc4c4b0748b457f1f | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Oct 15 16:10:41 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Oct 15 16:33:40 2020 +0800 |
tree | 6ba3018c0a66cfb135dc561827eea4f3bfa8e4aa | |
parent | 0c7b1ca271d4a52d5de8e2b1433f04e96b3d1079 [diff] |
Remove the resolv_integration_test check whether fd is closed or not The check is not thread-safe. It sometimes results in the tests flaky because the fd gets reused in another thread as soon as it is closed. Bug: 156755788 Test: Run resolv_integration_test Change-Id: I5730fc993eb47cd3e54add3f8102eb68d812507c
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.