Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

add timeout to long running tests

yuneng-jiangac648af78e7f
diff --git a/ui/litellm-dashboard/src/components/OldTeams.test.tsx b/ui/litellm-dashboard/src/components/OldTeams.test.tsx
index f0f08e3907a..7d64ac9afea 100644
--- a/ui/litellm-dashboard/src/components/OldTeams.test.tsx
+++ b/ui/litellm-dashboard/src/components/OldTeams.test.tsx
@@ -74,9 +74,9 @@ vi.mock("./ModelSelect/ModelSelect", () => {
if (onChange) {
const newVal = e.target.value
? e.target.value
- .split(",")
- .map((s: string) => s.trim())
- .filter(Boolean)
+ .split(",")
+ .map((s: string) => s.trim())
+ .filter(Boolean)
: [];
onChange(newVal);
}
@@ -836,7 +836,7 @@ describe("OldTeams - access_group_ids in team create", () => {
}),
);
});
- });
+ }, { timeout: 30000 });
});
describe("OldTeams - models dropdown options", () => {
diff --git a/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx b/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx
index b5198e4f861..d08d0f3af13 100644
--- a/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx
+++ b/ui/litellm-dashboard/src/components/organisms/create_key_button.test.tsx
@@ -118,7 +118,7 @@ describe("CreateKey", () => {
expect(formValues).toHaveProperty("access_group_ids");
expect(formValues.access_group_ids).toEqual(["ag-1", "ag-2"]);
},
- { timeout: 5000 },
+ { timeout: 15000 },
);
- });
+ }, { timeout: 30000 });
});