Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markm why 10325 fails #10589

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion multichain-testing/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.tsimp
.yarn/*
!.yarn/patches/*
# fetched chain info from running starship
Expand Down
19 changes: 18 additions & 1 deletion multichain-testing/ava.fusdc.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
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',
},
extensions: {
ts: 'module',
},
require: ['@endo/init/debug.js'],
nodeArguments: ['--import=tsimp/import'],
nodeArguments: ['--import=ts-blank-space/register'],
files: ['test/fast-usdc/**/*.test.ts'],
concurrency: 1,
serial: true,
Expand Down
5 changes: 4 additions & 1 deletion multichain-testing/ava.main.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
export default {
environmentVariables: {
LOCKDOWN_OVERRIDE_TAMING: 'severe',
},
extensions: {
ts: 'module',
},
require: ['@endo/init/debug.js'],
nodeArguments: ['--import=tsimp/import'],
nodeArguments: ['--import=ts-blank-space/register'],
files: ['test/**/*.test.ts', '!test/fast-usdc/**/*.test.ts'],
concurrency: 1,
serial: true,
Expand Down
16 changes: 8 additions & 8 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 All @@ -23,23 +23,23 @@
"@cosmjs/crypto": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@endo/errors": "^1.2.5",
"@endo/far": "^1.1.5",
"@endo/nat": "^5.0.10",
"@endo/ses-ava": "^1.2.5",
"@endo/errors": "^1.2.8",
"@endo/far": "^1.1.9",
"@endo/nat": "^5.0.13",
"@endo/ses-ava": "^1.2.8",
"@types/eslint": "^8",
"@types/fs-extra": "^11",
"@types/node": "^20.11.13",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"ava": "^6.1.3",
"ava": "^6.2.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"execa": "9.1.0",
"fs-extra": "^11.2.0",
"patch-package": "^8.0.0",
"starshipjs": "2.4.1",
"tsimp": "^2.0.10",
"ts-blank-space": "^0.4.4",
"tsx": "^4.15.6",
"typescript": "^5.3.3"
},
Expand Down
Loading
Loading