mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
[Fix] Add flaky reruns to test_e2e_managed_batch
The test_e2e_managed_batch test intermittently fails during cleanup when deleting the input file — the batch cost tracking hasn't finished processing yet (batch_processed=true not set), causing a 400 error. This is a timing race condition unrelated to batch retrieval logic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e40ebf262a
commit
1f71578de2
1 changed files with 1 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ class TestManagedFilesAPI(ManagedFilesBase, UserKeyTestMixin):
|
|||
# Tests
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
@pytest.mark.flaky(reruns=5)
|
||||
@pytest.mark.parametrize(
|
||||
"model_name",
|
||||
get_batch_model_names(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue