From 0b51712aabf378370c2578e8fd1dcbdbad973b15 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 2 Sep 2024 19:44:28 -0700 Subject: [PATCH] mark test as flaky --- litellm/tests/test_anthropic_prompt_caching.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/tests/test_anthropic_prompt_caching.py b/litellm/tests/test_anthropic_prompt_caching.py index feb31e1939e..b9c70f0c3b8 100644 --- a/litellm/tests/test_anthropic_prompt_caching.py +++ b/litellm/tests/test_anthropic_prompt_caching.py @@ -283,6 +283,7 @@ async def test_anthropic_api_prompt_caching_no_headers(): @pytest.mark.asyncio() +@pytest.mark.flaky(retries=3, delay=1) async def test_anthropic_api_prompt_caching_streaming(): from litellm.tests.test_streaming import streaming_format_tests