From 77cdde94f313ca8f58cf9e693d524f8bb33b4904 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 9 Feb 2023 03:12:10 -0600 Subject: [PATCH] Turn back off test_shutdown_before_startup_finishes test on MySQL (#87761) --- tests/components/recorder/test_init.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/components/recorder/test_init.py b/tests/components/recorder/test_init.py index d2252cbba4c..38721a6a436 100644 --- a/tests/components/recorder/test_init.py +++ b/tests/components/recorder/test_init.py @@ -103,6 +103,9 @@ async def test_shutdown_before_startup_finishes( tmp_path, ): """Test shutdown before recorder starts is clean.""" + if recorder_db_url.startswith("mysql://"): + # Currently this test fails with MySQL + return if recorder_db_url == "sqlite://": # On-disk database because this test does not play nice with the