Merge pull request #41358 from BerriAI/litellm_fix_stale_router_tests

test(router): ignore deployment-selection logs in the fallback log assertion
This commit is contained in:
yuneng-jiang 2026-09-15 20:27:21 -07:00 committed by GitHub
commit ef06790e39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,6 +86,7 @@ def test_async_fallbacks(caplog):
if "Task exception was never retrieved" not in log
and "Task was destroyed but it is pending" not in log
and "get_available_deployment" not in log
and "Selected deployment for model" not in log
and "in the Langfuse queue" not in log
and "Unclosed client session" not in log
and "Unclosed connector" not in log