Skip to content

Update README.md (#667) #249

Update README.md (#667)

Update README.md (#667) #249

GitHub Actions / E2E report yarn test-rewards-bootstrap failed Jan 30, 2024 in 1s

E2E report yarn test-rewards-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-55a7a490-bf46-11ee-9470-e5b0dd27d91a.xml

8 tests were completed in 2556s with 7 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.configuration.test.ts 2✅ 636s
test/sequential/bootstrap.updatePromotion.test.ts 1✅ 672s
test/sequential/xyk-pallet.asset.bootstrap.register.test.ts 4✅ 1❌ 1248s

✅ test/sequential/bootstrap.configuration.test.ts

✅ bootstrap - Check non-sudo user cannot start bootstrap
✅ bootstrap - Check happy path bootstrap with one user

✅ test/sequential/bootstrap.updatePromotion.test.ts

✅ bootstrap - bootstrap - Check if we can change promoteBootstrapPool in each phase

❌ test/sequential/xyk-pallet.asset.bootstrap.register.test.ts

✅ register asset and then try to register new one with the same location, expect to conflict
✅ register asset with xyk disabled and try to schedule bootstrap, expect to success
✅ register asset with xyk enabled and try to schedule bootstrap, expect to success
❌ try to schedule bootstrap for token when does not have AssetRegistry, expect to success
	Error: expect(received).toContain(expected) // indexOf
✅ register asset without asset metadata  and try to schedule bootstrap, expect to success

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-55a7a490-bf46-11ee-9470-e5b0dd27d91a.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/xyk-pallet.asset.bootstrap.register.test.ts ► try to schedule bootstrap for token when does not have AssetRegistry, expect to success

Failed test found in:
  e2eTests/reports/junit.xml-55a7a490-bf46-11ee-9470-e5b0dd27d91a.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected substring: "Ok"
Received string:    "{\"err\":{\"module\":{\"index\":21,\"error\":\"0x05000000\"}}}"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:112:29
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:3:12)
    at waitSudoOperationSuccess (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:89:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:55:9
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)