Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 947f34b1 authored by William Escande's avatar William Escande
Browse files

ScanManager: fix flaky test

The ScanManagerTest is flaky since 2022 when it was created. Because of
race condition in how the test was written.

This CL is using the test looper and only dispatch message when
expected. It also inject a time provider to advance the time by the same
amount

Bug: 330956986
Fix: 330956986
Bug: 380539632
Bug: 380510617
Bug: 380510672
Bug: 380536618
Bug: 380510672
Bug: 380510672
Bug: 380536573
Bug: 378542424
Bug: 346028665
Bug: 347474468
Test: atest ScanManagerTest --rerun-until-failure 3000
Flag: TEST_ONLY || The change in app are no-op
Change-Id: I7c7d397453328defa50fe623454f078f36253f22
parent 05b21943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment