mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 10:47:10 +00:00
Fix flaky test (#22850)
This commit is contained in:
parent
3fde1d3bab
commit
abe85c73ae
@ -110,7 +110,7 @@ async def test_stream_ended(hass):
|
|||||||
while await track.recv() is not None:
|
while await track.recv() is not None:
|
||||||
segments += 1
|
segments += 1
|
||||||
|
|
||||||
assert segments == 3
|
assert segments > 1
|
||||||
assert not track.get_segment()
|
assert not track.get_segment()
|
||||||
|
|
||||||
# Stop stream, if it hasn't quit already
|
# Stop stream, if it hasn't quit already
|
||||||
|
Loading…
x
Reference in New Issue
Block a user