mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
test(router): ignore deployment-selection logs in the fallback log assertion
simple_shuffle logs the selected deployment at INFO whenever a weight set applies, so the fallback group's selection line lands between the fallback notice and the success notice and pushed the notice out of the tail-3 window. Filter it the same way the neighbouring get_available_deployment noise is already filtered.
This commit is contained in:
parent
c64b821a7e
commit
6fd988cc63
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue