mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
add timeout to long running tests
This commit is contained in:
parent
e92b7274c9
commit
ac648af78e
2 changed files with 6 additions and 6 deletions
|
|
@ -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", () => {
|
||||
|
|
|
|||
|
|
@ -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 });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue