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

CI: Use kubernetes based GHA self-hosted runners MGX-668 #605

Merged
merged 18 commits into from
Oct 4, 2023

feat: configure specific runners for e2e jobs to optimize resource us…

f623ef5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

CI: Use kubernetes based GHA self-hosted runners MGX-668 #605

feat: configure specific runners for e2e jobs to optimize resource us…
f623ef5
Select commit
Loading
Failed to load commit list.
GitHub Actions / E2E report yarn test-seqgasless succeeded Oct 4, 2023 in 0s

E2E report yarn test-seqgasless ✔️

Tests passed successfully

✔️ e2eTests/reports/junit-c1453d10-629a-11ee-a7a9-2dc5bd321384.xml

7 tests were completed in 804s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/feeLock.API.config.test.ts 4✔️ 443s
test/sequential/feeLock.API.feePayment.sequential.test.ts 3✔️ 360s

✔️ test/sequential/feeLock.API.config.test.ts

✔️ gasless- GIVEN a non sudo user WHEN feeLock configuration extrinsic is submitted THEN it fails with RequireSudo
✔️ gasless- GIVEN an empty feeLock configuration (all options empty) WHEN sudo submit the extrinsic THEN Tx fails because insufficient params
✔️ gasless- GIVEN a feeLock WHEN periodLength and feeLockAmount are set THEN extrinsic succeed and feeLock is correctly configured
✔️ gasless- Changing feeLock config parameter on the fly is works robustly. Either automatic or manual unlocks the tokens

✔️ test/sequential/feeLock.API.feePayment.sequential.test.ts

✔️ gasless- GIVEN a feeLock configured (only Time and Amount ) WHEN the user swaps AND the user has not enough MGAs and has enough TURs THEN the extrinsic fails on submission
✔️ gasless- GIVEN a feeLock configured (only Time and Amount )  WHEN the user swaps AND the user does not have enough MGAs THEN the extrinsic fails on submission
✔️ gasless- Given a feeLock correctly configured (only Time and Amount ) WHEN the user swaps AND the user has enough MGAs THEN the extrinsic is correctly submitted