Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test: mark flaky tests

Krrish Dholakia94db4ec830e1
diff --git a/litellm/tests/test_alangfuse.py b/litellm/tests/test_alangfuse.py
index 0d0524e5a0f..11ac2a4116b 100644
--- a/litellm/tests/test_alangfuse.py
+++ b/litellm/tests/test_alangfuse.py
@@ -255,6 +255,7 @@ audio_file = open(file_path, "rb")
@pytest.mark.asyncio
[email protected](retries=3, delay=1)
async def test_langfuse_logging_audio_transcriptions(langfuse_client):
"""
Test that creates a trace with masked input and output
@@ -289,6 +290,7 @@ async def test_langfuse_logging_audio_transcriptions(langfuse_client):
@pytest.mark.asyncio
[email protected](retries=3, delay=1)
async def test_langfuse_masked_input_output(langfuse_client):
"""
Test that creates a trace with masked input and output
diff --git a/litellm/tests/test_lowest_latency_routing.py b/litellm/tests/test_lowest_latency_routing.py
index 1d477459b8d..3b6255e53b5 100644
--- a/litellm/tests/test_lowest_latency_routing.py
+++ b/litellm/tests/test_lowest_latency_routing.py
@@ -348,6 +348,7 @@ def test_get_available_endpoints_tpm_rpm_check_async(ans_rpm):
@pytest.mark.parametrize(
"ans_rpm", [1, 5]
) # 1 should produce nothing, 10 should select first
[email protected](retries=3, delay=1)
def test_get_available_endpoints_tpm_rpm_check(ans_rpm):
"""
Pass in list of 2 valid models