fix: Race condition in concurrent analyzer

This commit is contained in:
abhisek
2025-05-17 21:17:50 +05:30
parent f82ccb7756
commit 6cbba83cad
6 changed files with 89 additions and 15 deletions
+4 -4
View File
@@ -8,9 +8,9 @@ pmg=$scriptDir/../bin/pmg
echo "Running e2e tests..."
## All these should be successful
$pmg npm install express --dry-run
$pmg --dry-run npm install express
$pmg --dry-run pnpm add express
$pmg --debug --dry-run npm install express
$pmg --debug --dry-run npm install express
$pmg --debug --dry-run pnpm add express
## All these should fail
$pmg --dry-run npm install nyc-config@10.0.0
$pmg --debug --dry-run npm install nyc-config@10.0.0 || exit 1