Skip to content

Commit

Permalink
chore: test:e2e defaults to no-docker (#10966)
Browse files Browse the repository at this point in the history
Since we run this more often locally, default to no-docker.
  • Loading branch information
spalladino authored Jan 9, 2025
1 parent 535a14c commit 15e0d71
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.end-to-end
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ COPY /usr/src /usr/src
COPY /anvil /opt/foundry/bin/anvil

WORKDIR /usr/src/yarn-project/end-to-end
ENTRYPOINT ["yarn", "test:e2e-no-docker"]
ENTRYPOINT ["yarn", "test:e2e"]
5 changes: 3 additions & 2 deletions yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"clean": "rm -rf ./dest .tsbuildinfo",
"formatting:fix": "run -T eslint --fix ./src && run -T prettier -w ./src",
"test:with-alerts": "./scripts/test-with-alerts.sh",
"test:e2e": "./scripts/test.sh simple",
"test:e2e-no-docker": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
"test:e2e": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
"test:e2e-docker": "./scripts/test.sh simple",
"test:e2e-no-docker": "echo 'The command test:e2e-no-docker is now the same as test:e2e. You can now run this dropping the no-docker suffix.'; yarn test:e2e",
"test:profile": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 0x --output-dir \"flame_graph/{pid}.0x\" -- node --experimental-vm-modules ../node_modules/jest/bin/jest.js --runInBand --testTimeout=300000 --forceExit",
"serve:flames": "python3 -m http.server --directory \"flame_graph\" 8000",
"test:debug": "LOG_LEVEL=${LOG_LEVEL:-verbose} NODE_NO_WARNINGS=1 node --inspect --experimental-vm-modules ../node_modules/.bin/jest --testTimeout=300000 --forceExit",
Expand Down
2 changes: 1 addition & 1 deletion yarn-project/foundation/src/testing/files/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function updateInlineTestData(targetFileFromRepoRoot: string, itemName: s
/**
* Updates the sample Prover.toml files in noir-projects/noir-protocol-circuits/crates/.
* @remarks Requires AZTEC_GENERATE_TEST_DATA=1 to be set
* To re-gen, run 'AZTEC_GENERATE_TEST_DATA=1 FAKE_PROOFS=1 yarn test:e2e-no-docker full.test '
* To re-gen, run 'AZTEC_GENERATE_TEST_DATA=1 FAKE_PROOFS=1 yarn test:e2e full.test '
*/
export function updateProtocolCircuitSampleInputs(circuitName: string, value: string) {
const logger = createConsoleLogger('aztec:testing:test_data');
Expand Down

0 comments on commit 15e0d71

Please sign in to comment.