From d117f3a07775a3849a47cf61d6daff26cf7cb9eb Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Mon, 20 Apr 2026 20:42:07 +0200 Subject: [PATCH] test: raise `call_with_exp_backoff` retry budget for flaky shared RQ tests Shared request queue propagation (issue #808) occasionally exceeds the current 7s budget (1+2+4), causing flakes like `test_request_ordering_with_mixed_operations[shared]`. Bumping `max_retries` from 3 to 5 extends the worst-case wait to ~31s while adding no cost in the happy path. Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/integration/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/_utils.py b/tests/integration/_utils.py index dd6cca927..3fb26bbd6 100644 --- a/tests/integration/_utils.py +++ b/tests/integration/_utils.py @@ -18,7 +18,7 @@ async def call_with_exp_backoff( fn: Callable[[], Awaitable[T]], *, rq_access_mode: Literal['single', 'shared'], - max_retries: int = 3, + max_retries: int = 5, ) -> T | None: """Call an async callable with exponential backoff retries until it returns a truthy value.