commit | 70ac04b9fc21004384a2a651e9d9989257e48e78 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Nov 05 19:07:50 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Mon Nov 22 17:46:54 2021 +0800 |
tree | 4ee869027613d8beee4cc1e306c373099569d89f | |
parent | 49295c6efbdbe32e04aa010adefaa86c74ee694c [diff] |
Add more DoH tests in resolv_integration_test Add 4 new tests: - TemporaryConnectionStalled - RunOutOfDataLimit - RunOutOfStreams - ReconnectAfterIdleTimeout Current DoH client implementation doesn't check if QUIC connections run out of data limit, so the check for DoH query count in RunOutOfDataLimit is commented out. Bug: 181642979 Test: cd packages/modules/DnsResolver && atest Change-Id: I3582a7f64ea2b4b1c4a9a1387f5fade3445a4e34
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.