handle flaky pytests

This commit is contained in:
Ishaan Jaff 2024-08-27 22:43:54 -07:00
parent d8ecf55eca
commit 0f999524c9
5 changed files with 13 additions and 2 deletions

View file

@ -95,6 +95,7 @@ def test_create_batch(provider):
@pytest.mark.parametrize("provider", ["openai", "azure"])
@pytest.mark.asyncio()
@pytest.mark.flaky(retries=3, delay=1)
async def test_async_create_batch(provider):
"""
1. Create File for Batch completion