commit | b50d325433bb18c6f7f120db6ce8b570f4ddb47e | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Jul 08 22:38:53 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Jul 08 23:58:22 2021 +0800 |
tree | 8681db08b641df1c4ff32c6d04fbe711f464f6b9 | |
parent | 0b61ab576f5a3f53c2e186480ba478dbd716e485 [diff] |
Revert "Read test cacert and keys from files" This reverts commit af130a4c29ed5adcb83463e9ac2e61429cb4c84c. When we build resolv_{unit,integration,stres,gold}_test, testing pem files are copied and pushed to corresponding output directory. The following build command moves all of the pem files to out/dist and thinks that the files are duplicated. m TARGET_BUILD_APPS="resolv_unit_test resolv_integration_test" dist (This is a simplified command. The actual command which caused the issue is in b/193063575) We will use pipe as a workaround to read the testing certificates. Bug: 193063575 Test: m TARGET_BUILD_APPS="com.google.android.resolv resolv_unit_test resolv_integration_test resolv_gold_test resolv_stress_test" dist Change-Id: I0553aa4874603089630e771298b16c96946a3c2a
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.