From 01aec1828264701f0ce3529060b6b8b6d7694bdc Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 21 Feb 2026 11:45:34 -0800 Subject: [PATCH] fix(tests): add flaky retries to test_gemini_url_context --- tests/llm_translation/test_gemini.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/llm_translation/test_gemini.py b/tests/llm_translation/test_gemini.py index c1c52757cf0..3c8ea49ba8f 100644 --- a/tests/llm_translation/test_gemini.py +++ b/tests/llm_translation/test_gemini.py @@ -489,6 +489,7 @@ def test_gemini_finish_reason(): assert response.choices[0].finish_reason == "length" +@pytest.mark.flaky(retries=3, delay=2) def test_gemini_url_context(): from litellm import completion