From 1a944d637118383216a9e8700e552d248dee8ba7 Mon Sep 17 00:00:00 2001 From: Tom French Date: Sat, 13 Jan 2024 09:01:52 +0000 Subject: [PATCH] temp: run tests in single threaded mode to avoid workers --- yarn-project/acir-simulator/package.json | 3 ++- yarn-project/package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/yarn-project/acir-simulator/package.json b/yarn-project/acir-simulator/package.json index 9a3a0361d72e..6bb13979c7d4 100644 --- a/yarn-project/acir-simulator/package.json +++ b/yarn-project/acir-simulator/package.json @@ -27,7 +27,8 @@ "^(\\.{1,2}/.*)\\.[cm]?js$": "$1" }, "testRegex": "./src/.*\\.test\\.(js|mjs|ts)$", - "rootDir": "./src" + "rootDir": "./src", + "maxWorkers": 1 }, "dependencies": { "@aztec/circuit-types": "workspace:^", diff --git a/yarn-project/package.json b/yarn-project/package.json index 8bd7ef891ce7..5ccf14382110 100644 --- a/yarn-project/package.json +++ b/yarn-project/package.json @@ -10,7 +10,7 @@ "formatting:fix": "./run_nargo_fmt.sh && FORCE_COLOR=true yarn workspaces foreach -p -v run formatting:fix", "lint": "yarn eslint --cache --ignore-pattern l1-artifacts .", "format": "yarn prettier --cache -w .", - "test": "FORCE_COLOR=true yarn workspaces foreach --exclude @aztec/aztec3-packages --exclude @aztec/end-to-end --exclude private-token -p -j unlimited -v run test", + "test": "FORCE_COLOR=true yarn workspaces foreach --exclude @aztec/aztec3-packages --exclude @aztec/end-to-end --exclude private-token -p -j 1 -v run test", "build": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json", "build:dev": "yarn workspace @aztec/l1-artifacts build && tsc -b tsconfig.json --watch", "clean": "yarn workspaces foreach -p -v run clean"