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

Minor test fixes (again) #3317

Merged
merged 21 commits into from
Jun 21, 2024
Merged

Minor test fixes (again) #3317

merged 21 commits into from
Jun 21, 2024

Conversation

ss-es
Copy link
Contributor

@ss-es ss-es commented Jun 12, 2024

No linked issue.

This PR:

This is a second attempt at #3256, which was reverted. The tightening of the num_failed_views parameter in various tests is retained, but the check that we fail no fewer than num_failed_views was removed (since many tests do not reliably fail a specific number of views, this requires more work).

A consistency check was also added, to validate that each leaf chain from each node's decide events is coherent, and that no two nodes disagree on a leaf for any given view.

This PR does not:

Key places to review:

@ss-es ss-es marked this pull request as ready for review June 17, 2024 16:58
@jparr721 jparr721 self-assigned this Jun 17, 2024
Copy link
Contributor

@jparr721 jparr721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looking for some more docs to make understanding the tests a bit easier at a glance.

crates/testing/src/consistency_task.rs Outdated Show resolved Hide resolved
crates/testing/src/consistency_task.rs Outdated Show resolved Hide resolved
crates/testing/src/consistency_task.rs Show resolved Hide resolved
crates/testing/src/consistency_task.rs Outdated Show resolved Hide resolved
crates/testing/src/overall_safety_task.rs Show resolved Hide resolved
@jparr721 jparr721 dismissed their stale review June 19, 2024 18:46

Feedback addressed

bfish713
bfish713 previously approved these changes Jun 20, 2024
@ss-es ss-es requested a review from jparr721 June 21, 2024 15:04
@ss-es ss-es merged commit 7564ced into main Jun 21, 2024
33 of 36 checks passed
@ss-es ss-es deleted the ss/test-fixes-again branch June 21, 2024 15:40
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.

None yet

3 participants