From 80474ab0efad1637aa4f6e4296d248381d2c0c48 Mon Sep 17 00:00:00 2001 From: Aris Tritas Date: Mon, 4 Nov 2024 18:33:29 +0100 Subject: [PATCH] Increase system test backoff multiplier The current multiplier=1.3 setting leads to a timeout of 20s, which occurs frequently on slow CPUs. Update the multiple to 1.4 which leads to a max timeout of ~85s. --- tests/system/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system/conftest.py b/tests/system/conftest.py index c6ae6cc1..b757641b 100644 --- a/tests/system/conftest.py +++ b/tests/system/conftest.py @@ -120,7 +120,7 @@ def create_astacus_config( async def wait_url_up(url: str | URL) -> None: async with httpx.AsyncClient() as client: - async for _ in exponential_backoff(initial=0.1, multiplier=1.3, retries=20): + async for _ in exponential_backoff(initial=0.1, multiplier=1.4, retries=20): try: r = await client.get(url) if not r.is_error: