diff options
| author | 2021-08-11 14:32:56 +0000 | |
|---|---|---|
| committer | 2021-08-11 15:18:08 +0000 | |
| commit | dc710ba0170b4ab1c028344becc36598c0a7f955 (patch) | |
| tree | 4b2937746b76ce79ee51eff180c040a7c3ef592b /libs/input/SpriteController.cpp | |
| parent | bc28c5788426c77c82dd9d2c694a3be3d5e5426f (diff) | |
Fix flaky VibratorManagerTest
The test wait condition for vibrate_withTriggerCallback_finishesVibration was reached too early and the test assertions would sometimes fail when checked too soon.
Also added an assertion to check the vibration actually ends by the callback, which is the main functionality being tested.
Change-Id: Iff014f36b6e235c428473a00bfd0c36819f63356
Fix: 193565275
Test: VibratorManagerTest
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions