Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

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

Open
ss-es wants to merge 11 commits into
mainfrom
ss/integration-test-nonempty-block-default
Open

Set default nonempty block threshold to 80% in integration tests#4013
ss-es wants to merge 11 commits into
mainfrom
ss/integration-test-nonempty-block-default

Conversation

@ss-es

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

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants