commit | 68713d98304f942d365e12e4cd63253a13eff32f | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Mon Mar 09 11:29:45 2020 +0000 |
committer | Gavin Corkery <gavincorkery@google.com> | Mon Mar 09 11:29:45 2020 +0000 |
tree | 150776d5c1740b4cd9d19d307b69d5a5ff57e5dc | |
parent | 9eefc0aca44c2b83db49ae2d391adea69ae9ba04 [diff] |
Only sync requests when there are changes to report Instead of periodically syncing requests with the same information, only call into the ExplicitHealthCheckController when the set of packages with pending health checks has changed. Add tests to verify that duplicate calls are not made. Test: atest PackageWatchdogTest#testSyncHealthCheckRequests Bug: 150114865 Bug: 146767850 Change-Id: Ic99038db0b58eecac467e62eadb8daaa6ed87e26