From 2aacb6b99ffca906af9dcfa0cd7193b4b017b8b5 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Tue, 6 Jul 2021 00:24:09 +0300 Subject: [PATCH] Disable flaky shell_command test (#52564) --- tests/components/shell_command/test_init.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/components/shell_command/test_init.py b/tests/components/shell_command/test_init.py index f3a5d46f64b..b86fe12516d 100644 --- a/tests/components/shell_command/test_init.py +++ b/tests/components/shell_command/test_init.py @@ -5,6 +5,8 @@ import os import tempfile from unittest.mock import MagicMock, patch +import pytest + from homeassistant.components import shell_command from homeassistant.setup import async_setup_component @@ -166,6 +168,7 @@ async def test_stderr_captured(mock_output, hass): assert test_phrase.encode() + b"\n" == mock_output.call_args_list[0][0][-1] +@pytest.mark.skip(reason="disabled to check if it fixes flaky CI") async def test_do_no_run_forever(hass, caplog): """Test subprocesses terminate after the timeout."""