Skip to content

Commit

Permalink
fixup! test: tame SES overrides lockdown
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Dec 1, 2024
1 parent bce5b91 commit 9b90515
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions multichain-testing/ava.fusdc.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
export default {
// FIXME this isn't preventing the error: TypeError: Cannot redefine property: Symbol(async_id_symbol)
// Neither does using @endo/init/legacy.js
/*
Uncaught exception in test/fast-usdc/noble-forwarding.test.ts
TypeError: Cannot redefine property: Symbol(async_id_symbol)
TypeError: Cannot redefine property: Symbol(async_id_symbol)
at InertConstructor.defineProperty (<anonymous>)
at setup (file:///home/runner/work/agoric-sdk/agoric-sdk/agoric-sdk/multichain-testing/node_modules/@endo/ses-ava/node_modules/@endo/init/src/node-async_hooks.js:216:10)
at file:///home/runner/work/agoric-sdk/agoric-sdk/agoric-sdk/multichain-testing/node_modules/@endo/ses-ava/node_modules/@endo/init/src/node-async_hooks-patch.js:4:1
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at async run (file:///home/runner/work/agoric-sdk/agoric-sdk/agoric-sdk/multichain-testing/node_modules/ava/lib/worker/base.js:244:3)
at async file:///home/runner/work/agoric-sdk/agoric-sdk/agoric-sdk/multichain-testing/node_modules/ava/lib/worker/base.js:281:2
*/
environmentVariables: {
LOCKDOWN_OVERRIDE_TAMING: 'severe',
},
Expand Down
4 changes: 2 additions & 2 deletions multichain-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint:types": "tsc --noEmit",
"lint-fix": "yarn lint:eslint --fix",
"test": "echo 'Run specific test suites:\nyarn test:main (needs `make start`)\nyarn test:fast-usdc (needs `make start FILE=config.fusdc.yaml`)'",
"test:main": "ava --config ava.main.config.js",
"test:fast-usdc": "FILE=config.fusdc.yaml ava --config ava.fusdc.config.js",
"test:main": "LOCKDOWN_OVERRIDE_TAMING=severe ava --config ava.main.config.js",
"test:fast-usdc": "LOCKDOWN_OVERRIDE_TAMING=severe FILE=config.fusdc.yaml ava --config ava.fusdc.config.js",
"starship:setup": "make setup-deps setup-kind",
"starship:install": "make install",
"starship:port-forward": "make port-forward",
Expand Down

0 comments on commit 9b90515

Please sign in to comment.