litellm/tests/e2e_harness/batches
yuneng-jiang 91fc6c2071
test(e2e): drop two batch waits that never finish in time (#51882)
cleanup_batch waited up to 120s for a managed batch that was still
cancelling to reach a terminal state. Across 55 saved litellm-e2e builds it
reached one in time once, so test_batch_lifecycle[openai-unified] spent 126s
and TestBatchSecondHop 140s on every run, and both then left the input file
in place anyway. A managed batch still cancelling is now left alone, the same
as a raw provider batch, and the input file cleanup still reports the
leftover.

TestBatchTerminalState listed the marker batches every 10s for up to 300s.
Each e2e stack starts with an empty database, so the list only ever holds
this run's own marker, which never completed inside the window in any of
those builds, and the test took 303s for its documented vacuous pass. It now
lists once.
2026-11-14 21:41:43 -08:00
..
test_batch_cleanup.py test(e2e): drop two batch waits that never finish in time (#51882) 2026-11-14 21:41:43 -08:00