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

test: speed up block rewards tests #498

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Conversation

rsporny
Copy link
Collaborator

@rsporny rsporny commented Feb 17, 2025

fixes:

  • use cache instead of querying for the same block twice
  • get validators once per pc epoch instead on every block

Refs: ETCM-9389

@rsporny rsporny added the E2E-tests E2E Tests for SDET review/approval label Feb 17, 2025
@rsporny
Copy link
Collaborator Author

rsporny commented Feb 17, 2025

this reduces execution time by half (from 40 min to 20 min)

@rsporny rsporny force-pushed the test-blocks-less-rpc-calls branch 3 times, most recently from a4de6a2 to ab521d8 Compare February 18, 2025 09:10
fixes:
- use cache instead of querying for the same block twice
- get validators once per pc epoch instead on every block

Refs: ETCM-9389
@rsporny rsporny force-pushed the test-blocks-less-rpc-calls branch from ab521d8 to 507be30 Compare February 18, 2025 12:01
@rsporny rsporny enabled auto-merge (squash) February 18, 2025 12:01
@rsporny rsporny merged commit e699432 into master Feb 18, 2025
23 checks passed
@rsporny rsporny deleted the test-blocks-less-rpc-calls branch February 18, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E2E-tests E2E Tests for SDET review/approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants