mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
test_event_loop_stall_timeout_burst_keeps_breaker_closed built its timeout burst by wrapping a healthy fake call in asyncio.wait_for. Before 3.12, wait_for returns the inner result when the inner future also completed while the loop was blocked, so no call timed out, the burst never materialised, and the test's own liveness guard failed with 0 >= 3. The fake now checks its own client deadline against the clock, the way a client library does, so the stall produces a real redis TimeoutError burst on every interpreter. The breaker itself is unchanged: its duration gate is plain time.time() bookkeeping and never depended on the version. |
||
|---|---|---|
| .. | ||
| test_azure_blob_cache.py | ||
| test_caching.py | ||
| test_caching_handler.py | ||
| test_check_and_fix_namespace_none_guard.py | ||
| test_disk_cache.py | ||
| test_dual_cache.py | ||
| test_embedding_router.py | ||
| test_evicted_client_closer.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_cluster_node_isolation.py | ||
| test_redis_connection_pool.py | ||
| test_redis_semantic_cache.py | ||
| test_s3_cache.py | ||
| test_valkey_semantic_cache.py | ||