Fix race in bluetooth async_process_advertisements (#76176)

This commit is contained in:
J. Nick Koston
2022-08-04 21:50:09 +02:00
committed by Franck Nijhof
parent 11319defae
commit 60da54558e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -856,6 +856,9 @@ async def test_process_advertisements_bail_on_good_advertisement(
)
_get_underlying_scanner()._callback(device, adv)
_get_underlying_scanner()._callback(device, adv)
_get_underlying_scanner()._callback(device, adv)
await asyncio.sleep(0)
result = await handle