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

increase timeout for upgrade test #1324

Merged
merged 3 commits into from
Aug 12, 2024
Merged
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
5 changes: 2 additions & 3 deletions tests/e2e/package.json
Original file line number Diff line number Diff line change
@@ -11,10 +11,9 @@
"test:runtime-upgrade-astar": "RUNTIME=astar yarn test tests/runtime-upgrade.test.ts"
},
"dependencies": {
"@acala-network/chopsticks-testing": "^0.12.2",
"@polkadot/util-crypto": "^12.6.2",
"@acala-network/chopsticks-testing": "^0.13.2",
"typescript": "^5.3.0",
"vitest": "^1.4.0"
"vitest": "^2.0"
},
"prettier": {
"tabWidth": 2,
8 changes: 4 additions & 4 deletions tests/e2e/tests/runtime-upgrade.test.ts
Original file line number Diff line number Diff line change
@@ -4,16 +4,16 @@ import { readFileSync } from 'node:fs';
import path from 'node:path';

const endpoints = {
shibuya: 'wss://shibuya-rpc.dwellir.com',
shiden: 'wss://shiden.api.onfinality.io/public-ws',
astar: 'wss://astar.api.onfinality.io/public-ws',
shibuya: 'wss://rpc.shibuya.astar.network',
shiden: 'wss://rpc.shiden.astar.network',
astar: 'wss://rpc.astar.network',
};

describe('runtime upgrade', async () => {
const { alice } = testingPairs();

const runtime = process.env.RUNTIME || 'shibuya';
const { api, dev, teardown } = await setupContext({ endpoint: endpoints[runtime] });
const { api, dev, teardown } = await setupContext({ endpoint: endpoints[runtime], timeout: 300_000 });

beforeAll(async () => {
await dev.setStorage({
2 changes: 1 addition & 1 deletion tests/e2e/vitest.config.mts
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
hookTimeout: 30000,
testTimeout: 180000,
testTimeout: 300_000,
}
})
958 changes: 425 additions & 533 deletions tests/e2e/yarn.lock

Large diffs are not rendered by default.