Skip to content
Commit dc710ba0 authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent bc28c578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment