Adding retries to flaky tests

This commit is contained in:
yuneng-jiang 2026-01-22 15:21:44 -08:00
parent f425c80858
commit 827ce52d80
2 changed files with 2 additions and 2 deletions

View file

@ -583,7 +583,7 @@ async def test_aaaaakey_info_spend_values_streaming():
rounded_response_cost == rounded_key_info_spend
), f"Expected={rounded_response_cost}, Got={rounded_key_info_spend}"
@pytest.mark.flaky(retries=3, delay=1)
@pytest.mark.asyncio
async def test_key_info_spend_values_image_generation():
"""

View file

@ -188,7 +188,7 @@ async def list_organization(session, i):
return response_json
@pytest.mark.flaky(retries=5, delay=1)
@pytest.mark.asyncio
async def test_organization_new():
"""