commit | 76d7fbf6a1eac23361510301c0bb8e2f857c66de | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Wed Jul 05 17:15:12 2023 -0700 |
committer | Yu Shan <shanyu@google.com> | Wed Jul 05 17:16:59 2023 -0700 |
tree | f1f341c1acf7fb8893072ee27c5bfb506004ae67 | |
parent | 2652de979017105a715184f5308e22c76629787b [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