From 388d614e30a97d6d2302134d8f600ffe3d01df07 Mon Sep 17 00:00:00 2001 From: Jason Hu Date: Sat, 30 Mar 2019 21:10:32 -0700 Subject: [PATCH] Ignore flaky test (#22563) --- tests/components/statistics/test_sensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/components/statistics/test_sensor.py b/tests/components/statistics/test_sensor.py index 580b11f5ccd..c558c476ca1 100644 --- a/tests/components/statistics/test_sensor.py +++ b/tests/components/statistics/test_sensor.py @@ -230,7 +230,7 @@ class TestStatisticsSensor(unittest.TestCase): state.attributes.get('max_age') assert self.change_rate == state.attributes.get('change_rate') - @pytest.mark.skip + @pytest.mark.skip("Flaky in CI") def test_initialize_from_database(self): """Test initializing the statistics from the database.""" # enable the recorder @@ -260,6 +260,7 @@ class TestStatisticsSensor(unittest.TestCase): state = self.hass.states.get('sensor.test_mean') assert str(self.mean) == state.state + @pytest.mark.skip("Flaky in CI") def test_initialize_from_database_with_maxage(self): """Test initializing the statistics from the database.""" mock_data = {