mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
handle flaky pytests
This commit is contained in:
parent
d8ecf55eca
commit
0f999524c9
5 changed files with 13 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
|||
#### What this tests ####
|
||||
# This tests caching on the router
|
||||
import sys, os, time
|
||||
import traceback, asyncio
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
|
||||
import pytest
|
||||
|
||||
sys.path.insert(
|
||||
|
@ -71,6 +75,7 @@ def test_router_sync_caching_with_ssl_url():
|
|||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.flaky(retries=3, delay=1)
|
||||
async def test_acompletion_caching_on_router():
|
||||
# tests acompletion + caching on router
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue