-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed as not planned
microsoft/rushstack
#3606Closed as not planned
Copy link
Labels
Description
Do you want to request a feature or report a bug?
bug
What is the current behavior?
When running tests in parallel with the new atomic cache writing, we're getting rename errors as multiple processes try to write to the same files. Even with --no-cache option set it's still hitting rename errors because it's still trying to write to the files.
What is the expected behavior?
- I think that
--no-cacheshould not write cache files - Caching across multiple processes should not collide, or should be able to restart the test.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
{
"clearMocks": true,
"collectCoverageFrom": [
"packages/**/src/**/*.{ts,tsx}",
"!packages/sf-lint/**",
"!**/*.d.ts"
],
"coverageReporters": [
"text-summary"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"setupTestFrameworkScriptFile": "<rootDir>/jestEnvironment.js",
"transform": {
"\\.(ts|tsx)$": "<rootDir>/scripts/preprocessTypescript.js",
"\\.(less|css|svg|gif|png|jpg|jpeg)$": "<rootDir>/scripts/preprocessText.js"
},
"testRegex": "(Spec|.spec).tsx?$"
}jest 21.0.1
node 6.9.2
yarn 0.27.x/1.0.0
OS Windows
Reactions are currently unavailable