litellm/tests/e2e/load
Kerry Lu 5f17261534 test(load): pause Redis outright and budget the chaos phase against the baseline
CLIENT PAUSE ALL for the length of the chaos phase instead of CLIENT PAUSE WRITE, so every Redis touchpoint on the request path times out rather than just the writes. The pause is sized to the phase because it freezes the control connection too; teardown's CLIENT UNPAUSE is a safety net for a phase that overran

Latency, RSS and CPU are now budgeted as chaos-over-baseline ratios (p50/p90/p99 for latency and RSS, CPU seconds per request once) through a small phase_budget module, replacing the machine-shaped absolutes. The Redis timeout rate is reported but no longer asserted

The final /metrics scrape waits for litellm_deployment_failure_responses_total to stop moving, since that counter is bumped from the async logging queue and lagged the load generator by thousands of increments. The model group carries a unique marker so a deployment left behind by an aborted run cannot absorb this run's retries

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-11 11:06:06 -07:00
..
conftest.py test(e2e): rewrite the Redis timeout test as a locust chaos load test 2026-09-10 21:55:23 -07:00
load_client.py fix(e2e): migrate load suite from e2e_gateway to ProxyClient (#33839) 2026-07-18 19:41:03 +00:00
locust_load.py test(e2e): rewrite the Redis timeout test as a locust chaos load test 2026-09-10 21:55:23 -07:00
locustfile.py test(e2e): rewrite the Redis timeout test as a locust chaos load test 2026-09-10 21:55:23 -07:00
phase_budget.py test(load): pause Redis outright and budget the chaos phase against the baseline 2026-09-11 11:06:06 -07:00
proxy_usage.py test(load): pause Redis outright and budget the chaos phase against the baseline 2026-09-11 11:06:06 -07:00
session_anomaly.py fix(e2e): retry transient turn failures and move the weekly anomaly run to Saturday before the stable release cut 2026-07-21 16:55:44 -07:00
test_locust_load.py test(e2e): rewrite the Redis timeout test as a locust chaos load test 2026-09-10 21:55:23 -07:00
test_phase_budget.py test(load): pause Redis outright and budget the chaos phase against the baseline 2026-09-11 11:06:06 -07:00
test_proxy_usage.py test(load): pause Redis outright and budget the chaos phase against the baseline 2026-09-11 11:06:06 -07:00
test_redis_chaos_e2e.py test(load): pause Redis outright and budget the chaos phase against the baseline 2026-09-11 11:06:06 -07:00
test_session_anomaly.py test(e2e): move Admin UI Playwright suite to tests/e2e/ui (#34196) 2026-07-22 19:43:10 +00:00
test_weekly_session_anomaly_e2e.py fix(e2e): retry transient turn failures and move the weekly anomaly run to Saturday before the stable release cut 2026-07-21 16:55:44 -07:00
weekly_anomaly_config.yml test(e2e): add weekly session-anomaly load test against real providers 2026-07-21 14:54:02 -07:00