litellm/tests/test_litellm/proxy/db
Ishaan Jaff a939fa37ae
fix(proxy): restore broad is_database_connection_error; add is_database_transport_error for reconnect (#21796)
Any PrismaError should be treated as a DB connection error for the
allow_requests_on_db_unavailable feature and 503 responses. The narrow
keyword-based check is now in is_database_transport_error, which is
what the reconnect logic in auth_checks.py should use.

Fixes test_delete_access_group_503_on_db_connection_error and
test_handle_authentication_error_db_unavailable failures caused by
PR #21706 narrowing is_database_connection_error.
2026-02-21 12:04:00 -08:00
..
db_transaction_queue test_queue_flush_limit 2026-02-14 15:34:45 -08:00
mcp_server build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
test_check_migration.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_db_spend_update_writer.py [Feature] Track key last active timestamp 2026-02-18 23:11:58 -08:00
test_exception_handler.py fix(proxy): restore broad is_database_connection_error; add is_database_transport_error for reconnect (#21796) 2026-02-21 12:04:00 -08:00
test_prisma_client.py test_recreate_prisma_client_successful_disconnect 2025-08-01 15:38:48 -07:00
test_prisma_self_heal.py fix(proxy): self-heal Prisma connection for auth and runtime (#21706) 2026-02-20 18:11:36 -08:00
test_rds_iam_token_expiry.py fix: proactive RDS IAM token refresh to prevent 15-min connection failed (#18795) 2026-01-08 23:53:36 +05:30