commit | b256e8df4a21924864d7e14da7665b933c90d765 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Aug 04 05:36:26 2022 +0000 |
committer | Mike Yu <yumike@google.com> | Mon Aug 15 09:38:46 2022 +0000 |
tree | 31490ea796f064a86713f0d6071bec3df7675250 | |
parent | 45e5a86749c8f34372d2da8e59feb824151e1308 [diff] |
Test: Add connectivity check for DoHFFITest SmokeTest The test will be skipped if there is no network connected and it will connect to IPv4 or IPv6 server based on the connectivity. Probe timeout and idle timeout are extended to 10 seconds. So far, doh_ffi_test isn't in presubmit, so we need to specify the test name (atest doh_ffi_test) to run it. Bug: 237767883 Test: atest doh_ffi_test Change-Id: I7d2977acc5c80cb960ce510a4d3bb53c9628d033
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.