From 5cc8302e6a3912a889aadfd12c12bfd1e6392190 Mon Sep 17 00:00:00 2001 From: Allen Porter Date: Sun, 28 Feb 2021 10:25:07 -0800 Subject: [PATCH] Fix flaky hls keepalive test (#47186) Remove a call to stream.start() which is issued before the test is fully setup (e.g. keepalive is not set to True, and mock calls are not registered) --- tests/components/stream/test_hls.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/components/stream/test_hls.py b/tests/components/stream/test_hls.py index c11576d2570..b554ee6b20a 100644 --- a/tests/components/stream/test_hls.py +++ b/tests/components/stream/test_hls.py @@ -229,7 +229,6 @@ async def test_stream_keepalive(hass): stream = create_stream(hass, source) track = stream.add_provider("hls") track.num_segments = 2 - stream.start() cur_time = 0