mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
GLOBAL_LOGGING_WORKER.flush() calls queue.join() which blocks until all items are task_done(). In CI with pytest-asyncio, each test gets a fresh event loop so the worker reinitializes its queue - items from a previous test never get task_done(), causing an infinite hang. Fix: wrap flush() with asyncio.wait_for(..., timeout=10.0). |
||
|---|---|---|
| .. | ||
| litellm_completion_transformation | ||
| mcp | ||
| test_metadata_codex_callback.py | ||
| test_no_duplicate_spend_logs.py | ||
| test_null_test_fix.py | ||
| test_responses_api_request_body.py | ||
| test_responses_utils.py | ||
| test_text_format_conversion.py | ||