Significant Discrepancy in Test Execution Time #6340
Unanswered
ThomasCode92
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a code repository containing approximately 860 tests. When running these tests locally using the command
yarn test:ci
, they complete in about 30 seconds. However, when the same tests are executed in our CI pipeline (via Azure Pipelines), they take between 5 to 6 minutes to finish.What could be causing this significant discrepancy in test execution time between the local environment and the CI pipeline?
Is there a way to speed up the test on the pipeline?
For context, the tests are run with the command
yarn test:ci
, which triggers the npm scriptvitest --run
. Below is the relevant pipeline step and the configuration fromvite.config.ts
:Azure Pipeline Step
Configuration
Beta Was this translation helpful? Give feedback.
All reactions