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

Skip to content
Commit 0c182b25 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Wait for handlers to clear in SST test before continuing

SST test was flaky because SST test handler was accessing mocks
while the test thread was modifying them (reproducable by lowering
waitForMs timeout locally).

Instead we will wait for the handler thread to clear by checking to
see if the thread has messages every 100 ms for up to 1 sec.

Bug: 140313454
Test: atest FrameworksTelephonyTests:ServiceStateTrackerTest
Change-Id: I1c6a1763520d4774d20113429eba44f26823f152
parent 23b5f9fd
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