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

Skip to content
Commit eeafe9a5 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

LeAudio: Fix flaky unit tests

Since the audio context notifications on the other thread invalidate the
existing audio set configurations. We should wait of rthe main loop to
finish the job before we start to use these configurations.

We are not consistent in every test with the synchronisation after the
injected notification. This patch moves the synchronisation to a
notification sendind helper function, eliminating the need for new tests
to call the synchronisation routine manually.

Bug: 302775890
Test: atest --host UnicastTest#StartStream_AvailableContextTypeNotifiedLater --rerun-until-failure=1000
Change-Id: I38a892c829779616ac20b0dbb283dcef5204c4e0
parent 94882978
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