commit | bdba2b578dd1c240625789607a911ff7a68571b1 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Jul 05 17:15:12 2023 -0700 |
committer | Yu Shan <shanyu@google.com> | Fri Jul 07 20:30:43 2023 +0000 |
tree | e1f40e54b7193d0628e5b041d80eb5323aea0071 | |
parent | d74d81bf6e980513296739f4959795b550113c04 [diff] |
Fix flaky recurrent timer test. Do not rely on sleep in tests, but wait for the events to happen before timeout. Set the timeout to be large enough (5s) so that the tests are more stable. Test: atest RecurrentTimerTest Bug: 289759453 Change-Id: Iff271ca440426871ed3a798bab50b9532f9256f0 Merged-In: Iff271ca440426871ed3a798bab50b9532f9256f0 (cherry picked from commit 76d7fbf6a1eac23361510301c0bb8e2f857c66de)