mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Add two new tests using real AsyncOpenAI SDK clients (the exact production path) that verify clients remain usable after cache eviction: - test_evicted_openai_sdk_client_stays_usable: size-based eviction - test_ttl_expired_openai_sdk_client_stays_usable: TTL-based eviction All four e2e tests now sleep after eviction to drain any background close tasks — without this sleep, a regression that schedules close via create_task() would go undetected (the original tests passed by luck). Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| test_azure_blob_cache.py | ||
| test_caching_handler.py | ||
| test_dual_cache.py | ||
| test_gcs_cache.py | ||
| test_in_memory_cache.py | ||
| test_llm_caching_handler.py | ||
| test_llm_client_cache_e2e.py | ||
| test_qdrant_semantic_cache.py | ||
| test_redis_cache.py | ||
| test_redis_cluster_cache.py | ||
| test_redis_connection_pool.py | ||
| test_redis_semantic_cache.py | ||
| test_s3_cache.py | ||