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

Fix TestSubnetValidatorBLSKeyDiffAfterExpiry #3409

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

StephenButtolph
Copy link
Contributor

@StephenButtolph StephenButtolph commented Sep 22, 2024

Why this should be merged

The loop was intended to verify that the BLS keys were properly set for every height in the expected ranges. However, the test currently just checks the same heights over-and-over again.

How this works

Replaces the repeated loop invocations with multiple test runs for each height.

How this was tested

  • CI

@StephenButtolph StephenButtolph added testing This primarily focuses on testing cleanup Code quality improvement labels Sep 22, 2024
@StephenButtolph StephenButtolph added this to the v1.11.12 milestone Sep 22, 2024
@StephenButtolph StephenButtolph self-assigned this Sep 22, 2024
vm.State,
nodeID,
subnetID,
primaryEndHeight,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should have been height.

vm.State,
nodeID,
constants.PrimaryNetworkID,
primaryEndHeight,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should have been height.

@StephenButtolph StephenButtolph added this pull request to the merge queue Sep 23, 2024
Merged via the queue into master with commit c4912bc Sep 23, 2024
22 checks passed
@StephenButtolph StephenButtolph deleted the fix-regression-test branch September 23, 2024 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement testing This primarily focuses on testing
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants