litellm/tests/e2e/gateway
devin-ai-integration[bot] 1c602334ee
test(e2e): one request lands the same spend on every surface (#42540)
* test(e2e): one request lands the same spend on every surface

One priced chat request must show the same response_cost on the spend log row, /key/info, /team/info, the usage export's /user/daily/activity/aggregated row, and the litellm_spend_metric Prometheus sample; each is a separate writer, so the test fails naming the surface that drifted

* fix(e2e): scrape every replica's /metrics/ and enable prometheus in the replay lane

---------

Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
2026-09-22 13:42:00 -07:00
..
record_replay_ci_config.yml test(e2e): one request lands the same spend on every surface (#42540) 2026-09-22 13:42:00 -07:00
redis_chaos_ci_config.yml test(e2e): address Redis chaos PR review, add log-bytes budget 2026-09-11 12:40:25 -07:00
stage_mirror_ci_config.yml fix(proxy): share model rate-limit buckets between a model_group_alias and its target (#42516) 2026-09-22 13:31:58 -07:00