Skip to content

Commit 6583182

Browse files
Add --workspace-concurrency=1 workaround for build tools to fix test breaks (#25326)
## Description Add --workspace-concurrency=1 workaround for build tools to fix test breaks. This mitigates a bug ( [AB#47469](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/47469) ) where running the tests for built-tools usually fails due to some concurrency issue which seems to be related to its use of git.
1 parent 69a1eed commit 6583182

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-tools/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"test:bail": "npm run test:mocha:bail",
5151
"test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc",
5252
"test:coverage": "c8 npm run test:mocha",
53-
"test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color",
53+
"test:mocha": "pnpm run -r --no-sort --workspace-concurrency=1 --stream --no-bail test:mocha --color",
54+
"test:mocha-comment": "echo TODO:AB#47469: --workspace-concurrency=1 is a workaround for bug",
5455
"test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha",
5556
"tsc": "fluid-build --task tsc",
5657
"tsc:fast": "fluid-build --root . --task tsc --worker",

0 commit comments

Comments
 (0)