diff --git a/tests/public-api/test_solvers_jobs_api.py b/tests/public-api/test_solvers_jobs_api.py index 83250c63c69e..f4895b4818b7 100644 --- a/tests/public-api/test_solvers_jobs_api.py +++ b/tests/public-api/test_solvers_jobs_api.py @@ -183,7 +183,7 @@ def test_create_job( # only 404 are retried, the rest are failures retry=retry_if_exception_type(TryAgain), wait=wait_fixed(1), - stop=stop_after_attempt(5), + stop=stop_after_attempt(3), after=after_log(logger, logging.WARNING), reraise=True, )