mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
add 30k and 250k memory leak tests to CI
- Add test_memory_baseline_30k to Router tests - Add test_proxy_memory_baseline_30k and test_proxy_memory_baseline_250k to Proxy tests - Increase proxy tests timeout from 30m to 45m to accommodate 250k test (~16 min runtime)
This commit is contained in:
parent
c01be17a50
commit
e81f2f7fc1
1 changed files with 7 additions and 1 deletions
|
|
@ -2067,6 +2067,8 @@ jobs:
|
|||
python -m pytest tests/load_tests/test_router_acompletion_memory_growth.py::test_memory_baseline_4k -v -s --tb=short
|
||||
echo "Running test_memory_baseline_10k..."
|
||||
python -m pytest tests/load_tests/test_router_acompletion_memory_growth.py::test_memory_baseline_10k -v -s --tb=short
|
||||
echo "Running test_memory_baseline_30k..."
|
||||
python -m pytest tests/load_tests/test_router_acompletion_memory_growth.py::test_memory_baseline_30k -v -s --tb=short
|
||||
no_output_timeout: 30m
|
||||
- run:
|
||||
name: Run Proxy Server Memory Growth Tests
|
||||
|
|
@ -2078,7 +2080,11 @@ jobs:
|
|||
python -m pytest tests/load_tests/test_proxy_chat_completions_memory_growth.py::test_proxy_memory_baseline_10k -v -s --tb=short
|
||||
echo "Running test_proxy_memory_baseline_20k..."
|
||||
python -m pytest tests/load_tests/test_proxy_chat_completions_memory_growth.py::test_proxy_memory_baseline_20k -v -s --tb=short
|
||||
no_output_timeout: 30m
|
||||
echo "Running test_proxy_memory_baseline_30k..."
|
||||
python -m pytest tests/load_tests/test_proxy_chat_completions_memory_growth.py::test_proxy_memory_baseline_30k -v -s --tb=short
|
||||
echo "Running test_proxy_memory_baseline_250k..."
|
||||
python -m pytest tests/load_tests/test_proxy_chat_completions_memory_growth.py::test_proxy_memory_baseline_250k -v -s --tb=short
|
||||
no_output_timeout: 45m
|
||||
|
||||
db_migration_disable_update_check:
|
||||
machine:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue