nixpkgs/pkgs/servers/home-assistant/test-timeout.patch

14 lines
429 B
Diff
Raw Normal View History

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())