We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a9893 commit 2fb575bCopy full SHA for 2fb575b
tests/proxy_admin_ui_tests/test_key_management.py
@@ -1029,7 +1029,9 @@ async def test_list_key_helper_team_filtering(prisma_client):
1029
# Test 1: Get all keys with pagination (exclude litellm-dashboard)
1030
all_keys = []
1031
page = 1
1032
- while True:
+ max_pages_to_check = 3 # Only check the first 3 pages
1033
+
1034
+ while page <= max_pages_to_check:
1035
result = await _list_key_helper(
1036
prisma_client=prisma_client,
1037
size=100,
@@ -1043,7 +1045,7 @@ async def test_list_key_helper_team_filtering(prisma_client):
1043
1045
1044
1046
all_keys.extend(result["keys"])
1047
- if page >= result["total_pages"]:
1048
+ if page >= result["total_pages"] or page >= max_pages_to_check:
1049
break
1050
page += 1
1051
0 commit comments