mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 16:19:45 +00:00
The test used a fixed 40s sleep before checking spend logs, but async spend logging in CI sometimes takes longer to flush. Replace with a polling loop (10s interval, 120s max) that exits early on success. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>