commit | e8f7febe29e1438426b068f8c526d1fec106967c | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Mar 07 17:30:19 2022 +0800 |
committer | Mike Yu <yumike@google.com> | Mon Mar 07 17:40:10 2022 +0800 |
tree | 4c8a5a12e842a04cd248e838c30ba36fe25d12f9 | |
parent | 562775e483d79fb5aa655ab0ad7437a6a9476422 [diff] |
Make PrivateDnsDohTest.SessionResumption more robust against flag reset This test usually takes 7 seconds to finish, and resetNetwork() is called during the test. If the flag "doh" is set to 0 during the test, the test will fail. Therefore, this change adds another ScopedSystemProperties for "doh" right before resetNetwork(). Bug: 222023286 Test: ran PrivateDnsDohTest.SessionResumption Change-Id: I4831cfa4324b5970db0f281afacba8141929520c
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.