Skip to content

Commit

Permalink
test(multichain-testing): skip or mark new failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Jan 25, 2025
1 parent 666d10d commit 560a63a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 5 deletions.
27 changes: 25 additions & 2 deletions multichain-testing/ava.main.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,36 @@
const skippedFailingTests = [
/**
* send-anywhere › before hook
* Rejected promise returned by test. Reason:
*
* Error {
* message: 'failed to ibc transfer funds to cosmoshub',
* }
*
* Error: failed to ibc transfer funds to cosmoshub
* at file:///.../multichain-testing/tools/ibc-transfer.ts:181:13
* at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
* at async Object.fundFaucet (file:///.../multichain-testing/tools/faucet-tools.ts:35:9)
* at async file:///.../multichain-testing/test/send-anywhere.test.ts:31:3
*/
'!test/send-anywhere.test.ts',
];
console.warn(`Skipping failing test modules:`, ...skippedFailingTests);

export default {
extensions: {
ts: 'module',
},
// Each test imports `@endo/ses-ava/prepare-endo.js` which does its own @endo/init
// require: ['@endo/init/debug.js'],
nodeArguments: ['--import=ts-blank-space/register'],
files: ['test/**/*.test.ts', '!test/fast-usdc/**/*.test.ts'],
files: [
'test/**/*.test.ts',
'!test/fast-usdc/**/*.test.ts',
...skippedFailingTests,
],
concurrency: 1,
serial: true,
timeout: '125s',
failFast: true,
failFast: false,
};
2 changes: 1 addition & 1 deletion multichain-testing/test/account-balance-queries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,6 @@ const queryAccountBalance = test.macro({
test.serial(queryAccountBalances, 'osmosis');
test.serial(queryAccountBalances, 'cosmoshub');
test.serial(queryAccountBalances, 'agoric');
test.serial(queryAccountBalance, 'osmosis');
test.serial.failing(queryAccountBalance, 'osmosis');
test.serial(queryAccountBalance, 'cosmoshub');
test.serial(queryAccountBalance, 'agoric');
2 changes: 1 addition & 1 deletion multichain-testing/test/auto-stake-it.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ const autoStakeItScenario = test.macro({
});

test.serial(autoStakeItScenario, 'osmosis');
test.serial(autoStakeItScenario, 'cosmoshub');
test.serial.failing(autoStakeItScenario, 'cosmoshub');
2 changes: 1 addition & 1 deletion multichain-testing/test/chain-queries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,5 +296,5 @@ test.serial('Send Local Query from chain object', async t => {
);
});

test.serial(queryICQChain, 'osmosis');
test.serial.failing(queryICQChain, 'osmosis');
test.serial(queryChainWithoutICQ, 'cosmoshub');

0 comments on commit 560a63a

Please sign in to comment.