From c9a79f629368646e55335b11cb12a55907f1f749 Mon Sep 17 00:00:00 2001 From: Jan Bouwhuis Date: Sat, 25 May 2024 02:34:18 +0200 Subject: [PATCH] Fix lingering mqtt test (#118072) --- tests/components/mqtt/test_init.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/mqtt/test_init.py b/tests/components/mqtt/test_init.py index be1304cdbfe..08f1d8ca099 100644 --- a/tests/components/mqtt/test_init.py +++ b/tests/components/mqtt/test_init.py @@ -214,6 +214,7 @@ async def test_mqtt_await_ack_at_disconnect( 0, False, ) + await hass.async_block_till_done(wait_background_tasks=True) async def test_publish(