Skip to content

test: fix stale unit tests on 1.108 - #50090

Merged
yuneng-berri merged 3 commits into
stable/1.108.xfrom
litellm_test_e63a57
Nov 4, 2026
Merged

yuneng-berri merged 3 commits into
stable/1.108.xfrom
litellm_test_e63a57

Conversation

@yuneng-berri

@yuneng-berri yuneng-berri commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • The jwt-and-keys and root unit shards fail on 1.108 runs
  • Two tests assert behavior the line already changed on purpose
  • One test leaks a gpt-4o override, so root fails on some xdist orders

How it solves it:

Type

✅ Test

main removed test_team_cache_update_called in #35643. The 1.108 line already carries the auth cache freshness backport, so update_cache no longer reads the team cache and the test fails
@yuneng-berri
yuneng-berri requested a review from a team November 4, 2026 20:01
Brings over the test-only GovCloud exemption from #46870. The 1.108 cost map already mirrors main, where us-gov Sonnet 5 profiles mark supports_bedrock_native_structured_output false while the commercial base marks it true
@yuneng-berri yuneng-berri changed the title test(proxy): drop stale team cache update test on 1.108 test: fix stale unit tests on 1.108 Nov 4, 2026
…ng on 1.108

Brings over the test_utils.py isolation fix from #47135. The replay test registered openai/gpt-4o with supports_function_calling false into the shared cost map, so a later function calling test on the same worker failed depending on xdist ordering
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yuneng-berri
yuneng-berri merged commit 0cf3d53 into stable/1.108.x Nov 4, 2026
61 of 62 checks passed
@yuneng-berri
yuneng-berri deleted the litellm_test_e63a57 branch November 4, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants