From b3fd8a834301b3e9a9d7abb84f0c0926753c87f8 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 3 Aug 2020 03:01:15 -1000 Subject: [PATCH] Fix flapping chained task logging test (#38492) --- tests/test_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_core.py b/tests/test_core.py index 12ed00fde2c..167eda3f6cb 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -1436,14 +1436,14 @@ async def test_chained_logging_hits_log_timeout(hass, caplog): async def _task_chain_1(): nonlocal created created += 1 - if created > 10: + if created > 1000: return hass.async_create_task(_task_chain_2()) async def _task_chain_2(): nonlocal created created += 1 - if created > 10: + if created > 1000: return hass.async_create_task(_task_chain_1())