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

Skip to content
Commit e7c0523b authored by Kihong Seong's avatar Kihong Seong
Browse files

Fix ScanManagerTest#testDowngradeDuringScanForConcurrencyScreenOff

The test is flaky due to MSG_STOP_CONNECTING not handled before
assertions of scan mode changes, since MSG_STOP_CONNECTING is sent with
delay and the current test is just waiting for the delay to end with
sleeping. This fix uses the testLooper to change the test to assure that
MSG_STOP_CONNECTING is always handled before test assertions by using a
configuring the handler clock.

Bug: 324806849
Test: atest BluetoothInstrumentationTests
Flag: EXEMPT, test fix only
Change-Id: I9299cae6689e9dc0670bcdbe31f0d053431f5e19
parent 5434951e
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