DescriptionReduce runtime of client_cert_resolver_unittest
Enabling the unit tests again on debug.
If they still timeout, please revert.
Several changes to reduce the runtime:
- Ensure that there are no duplicate Shill profile notifications, which triggered multiple policy applications and certificate resolves.
- Ensure that each test runs at most one certificate resolve task.
- Use other certificates that are faster to load and import.
Overall this reduce on my workstation runtime in debug from ~6 seconds to <4 seconds.
Also remove the unnecessary TPMTokenLoader initialization.
BUG=418369
Committed: https://crrev.com/d0f72112a76c7b3449875478fce65f7d0b4b98e9
Cr-Commit-Position: refs/heads/master@{#301091}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Added reference. #
Messages
Total messages: 8 (2 generated)
|