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

Set default nonempty block threshold to 80% in integration tests #4013

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ss-es
Copy link
Contributor

@ss-es ss-es commented Jan 8, 2025

There's nothing really requiring that the transaction task is working in most tests. I think requiring 80% of blocks to be nonempty is a sensible default (and this can be lowered or disabled per-test if necessary).

This PR:

Renames nonempty_block_threshold to nonempty_block_ratio, defaulting to 80% in tests. Additionally, a new nonempty_block_threshold is added allowing you to specify both a minimum number of decided blocks and a minimum number of nonempty decided blocks.

This PR does not:

Key places to review:

@ss-es ss-es marked this pull request as draft January 17, 2025 18:53
@ss-es ss-es force-pushed the ss/integration-test-nonempty-block-default branch from b718d85 to 7225f4d Compare January 20, 2025 15:29
@ss-es ss-es changed the base branch from main to ss/fix-test-infrastructure January 20, 2025 15:31
Base automatically changed from ss/fix-test-infrastructure to main January 20, 2025 20:06
@ss-es ss-es marked this pull request as ready for review January 20, 2025 20:08
@ss-es ss-es assigned bfish713 and unassigned jparr721 and lukaszrzasik Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants