-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
scope: code-infraInvolves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).test
Description
Summary
Our mocha tests run serially which is inefficient and slow. For example in https://github.com/mui/mui-x, https://app.circleci.com/pipelines/github/mui/mui-x/60861/workflows/e2ea2b79-d335-4e79-874b-656570f42f38/jobs/347360/steps tests are way too slow >14 minutes, and only 1/2 of the CPUs available.
We should run these tests in parallel. Mocha doesn't support it mochajs/mocha#4958.
Examples
- Vitest: https://vitest.dev/config/#pool
Metadata
Metadata
Assignees
Labels
scope: code-infraInvolves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).test