Fix flapping stream hls test (#113858)

This commit is contained in:
J. Nick Koston
2024-03-19 21:27:05 -10:00
committed by GitHub
parent 96694878fb
commit c5eacf55c2

View File

@@ -327,6 +327,8 @@ async def test_stream_retries(
await stream.start()
await open_future1
await open_future2
await hass.async_add_executor_job(stream._thread.join)
stream._thread = None
assert av_open.call_count == 2
await hass.async_block_till_done()