mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(ci): stop ui_unit_tests vitest onTaskUpdate RPC timeout flake
The ui_unit_tests job runs vitest with maxForks=8 on an 8-vCPU xlarge container, leaving no headroom for the main vitest process that services worker RPCs. Under full CPU saturation the coordinator misses the onTaskUpdate ack, vitest raises "Timeout calling onTaskUpdate" as an unhandled error, and the job exits 1 even though every test passes. Lower maxForks to 6 so the coordinator, jsdom, and OS keep two cores, and raise teardownTimeout to 60s for extra slack on heavy runs.
This commit is contained in:
parent
e06adb5588
commit
fff6a5396c
2 changed files with 2 additions and 1 deletions
|
|
@ -2629,7 +2629,7 @@ jobs:
|
|||
cd ui/litellm-dashboard
|
||||
|
||||
CI=true npm run test -- --run \
|
||||
--pool forks --poolOptions.forks.maxForks=8
|
||||
--pool forks --poolOptions.forks.maxForks=6
|
||||
|
||||
e2e_ui_testing:
|
||||
docker:
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ export default defineConfig({
|
|||
globals: true,
|
||||
css: true, // lets you import CSS/modules without extra mocks
|
||||
testTimeout: 30000,
|
||||
teardownTimeout: 60000,
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "lcov"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue