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]

docs(tests): name the entrypoint that actually reaches the db push branch

Yuneng Jiang5dfe32c889ca
diff --git a/tests/litellm-proxy-extras/test_setup_database_fail_fast.py b/tests/litellm-proxy-extras/test_setup_database_fail_fast.py
index 3996b91c2a6..ef447315a8c 100644
--- a/tests/litellm-proxy-extras/test_setup_database_fail_fast.py
+++ b/tests/litellm-proxy-extras/test_setup_database_fail_fast.py
@@ -396,8 +396,11 @@ def test_v2_exhausted_retries_report_the_prisma_error(monkeypatch, tmp_path, cap
def test_v2_db_push_retries_transient_failures(monkeypatch, tmp_path):
- """v2: `prisma db push` retries a transient failure like v1 did, so the
- default flip does not cost --use_prisma_db_push its retries."""
+ """v2: `prisma db push` retries a transient failure like v1 did.
+
+ Reached from the migrations Job (USE_PRISMA_DB_PUSH=true), not from the
+ proxy CLI, whose --use_prisma_db_push has its own loop in prisma_client.
+ """
_prepare_v2_resolver(monkeypatch, tmp_path)
pushes = {"n": 0}