depot/third_party/nixpkgs/pkgs/servers/home-assistant/test-timeout.patch
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02: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())