mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
[Fix] Add flaky marker to test_pdf_handling integration test
The test makes real API calls to OpenAI's o1 model which can crash pytest-xdist workers in CI, especially the async variant. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9cd7ad2634
commit
b240833c0c
1 changed files with 1 additions and 0 deletions
|
|
@ -347,6 +347,7 @@ class BaseLLMChatTest(ABC):
|
|||
assert response is not None
|
||||
print(f"response={response}")
|
||||
|
||||
@pytest.mark.flaky(retries=3, delay=1)
|
||||
@pytest.mark.parametrize("sync_mode", [True, False])
|
||||
@pytest.mark.asyncio
|
||||
async def test_pdf_handling(self, pdf_messages, sync_mode):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue