Skip to content

Use -unrestricted for e2e non-fast tests #769

Use -unrestricted for e2e non-fast tests

Use -unrestricted for e2e non-fast tests #769

GitHub Actions / E2E report yarn test-experimentalStaking failed Dec 2, 2024 in 0s

E2E report yarn test-experimentalStaking ❌

Tests failed

❌ e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml

7 tests were completed in 1146s with 4 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts 3✅ 594s
test/staking/API.valuations.test.ts 3❌ 53s
test/staking/happyPath.staking.test.ts 1✅ 499s

✅ test/parallel/xyk-pallet.API.parachainStacking.joinCandidate.test.ts

✅ A user can delegate more using liq token
✅ A User with free tokens can join as collator
✅ A user can schedule and execute bond more

❌ test/staking/API.valuations.test.ts

Collators: MinCandidateStk limit
  ❌ Min Mangatas to be a collator matches with minLiq.
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
  ❌ Min Mangatas -1 will make joinCollator fail
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
  ❌ Min Mangatas +1 will make joinCollator work
	TypeError: Cannot read properties of undefined (reading 'mintLiquidity')

✅ test/staking/happyPath.staking.test.ts

HappyPath - staking - a collator producing blocks
  ✅ A user that have plenty of vested tokens can be a collator

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-experimentalStaking

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas to be a collator matches with minLiq.

Failed test found in:
  e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-experimentalStaking

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas -1 will make joinCollator fail

Failed test found in:
  e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-experimentalStaking

test/staking/API.valuations.test.ts ► Collators: MinCandidateStk limit ► Min Mangatas +1 will make joinCollator work

Failed test found in:
  e2eTests/reports/junit.xml-c3fc1bf0-b0a0-11ef-bd5a-2ddf88bea5b6.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
Raw output
TypeError: Cannot read properties of undefined (reading 'mintLiquidity')
    at mintLiquidity (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:3854:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)