commit | c16f2545af142654c677af749baa4eb16ba0cb68 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed Jun 16 10:36:09 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Jun 16 12:01:51 2021 +0800 |
tree | 66c1e0191abd83a7ecec7815645bd6e24b3fa9f5 | |
parent | bb22c7cace7b66b28c9c7bc840ef3c7db0c5e50c [diff] |
Fix TlsServerRevalidation flaky The test becomes flaky because tls.clearQueries() is called without tls.waitForQueries(). A recent change has made DnsTlsFrontend take extra 50 ms to wait for another query from DoT validation, the test will fail if tls.clearQueries() is called while DnsTlsFrontend is still waiting for the query. Bug: 188153519 Bug: 191147599 Test: resolv_integration_test64 --gtest_filter="*TlsServerRevalidation" --gtest_repeat=100 --gtest_break_on_failure Change-Id: Ieb81a407c2a9c6aa119ab4499a93a9ffd663b716
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.