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

Small patch to ranged balance test flakiness #76824

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

mqrause
Copy link
Contributor

@mqrause mqrause commented Oct 5, 2024

Summary

None

Purpose of change

Notice the shot_custom_damage_type test randomly failing every now and then.

Describe the solution

Move the early break below processing the other_checks. This is the absolutely minimal solution.
Also added a capture for the number of times the test ran, could be relevant info sometimes, when the number can vary.

Describe alternatives you've considered

Removing the early break entirely. Not sure how much time that really saves.
Skipping the early break when there's other checks is another option.

Testing

Reproduced the failure with seed 1728104733, didn't fail with the patch.

Additional context

@github-actions github-actions bot added Code: Tests Measurement, self-control, statistics, balancing. [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Oct 5, 2024
@kevingranade kevingranade merged commit a26f6ea into CleverRaven:master Oct 5, 2024
27 checks passed
@mqrause mqrause deleted the ranged_balance_test_patch branch October 5, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` Code: Tests Measurement, self-control, statistics, balancing. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants