commit | 7051f25bd7e04d62fd3d614cc5481382b4506313 | [log] [tgz] |
---|---|---|
author | Michael Wachenschwanz <mwachens@google.com> | Tue Feb 09 13:00:39 2021 -0800 |
committer | Michael Wachenschwanz <mwachens@google.com> | Tue Feb 09 18:13:58 2021 -0800 |
tree | 1a9d345eefc49878b4a0308b45a1b49accbd0057 | |
parent | eff708b407b349e6cd058eb8e0f0957e37fdc957 [diff] |
Retry AppStandbyControllerTest bucket checking AppStandbyController offloads work to a seperate thread which can lead to race condition induced flaky test failures. Retry bucket checking for up to ~two seconds to reduce the flake chance. Test: atest com.android.server.usage.AppStandbyControllerTests#testUnexemptedSyncScheduled --rerun-until-failure 10 Fixes: 163385558 Change-Id: Iedb9ccb1d834291ac62748e622ba1895f5a9ef43