nixpkgs-suyu/pkgs/servers/home-assistant/test-timeout.patch
2020-08-08 13:39:41 -07:00

13 lines
429 B
Diff

diff --git a/tests/test_core.py b/tests/test_core.py
index a63f42af61..04b333868b 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -1432,7 +1432,7 @@ async def test_chained_logging_hits_log_timeout(hass, caplog):
async def _task_chain_2():
nonlocal created
created += 1
- if created > 10:
+ if created > 1000:
return
hass.async_create_task(_task_chain_1())