-
Notifications
You must be signed in to change notification settings - Fork 663
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
refactor: prettify chunk management test #7659
Conversation
}); | ||
Test { | ||
validator_groups: 4, | ||
chunk_only_producers: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, this is an unintended bugfix I think, this would should be true
(which makes me more confident that we actually need this change :) )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if chunk_only_producers would be true here. The naming for the rest of the tests seem to indicate that if chunk_only_producers is true, the name is the tests would end with _cop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this test does end with _cop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ie, it was wrongly false
before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah sorry I must have misread something
Ahh this is so much better. Thanks for the refactoring and fix! |
Adding an explicit "test fixture" struct makes call-sites more readable (named args!) and makes making further changes easier.
Adding an explicit "test fixture" struct makes call-sites more readable (named args!) and makes making further changes easier. No particular grand plan here, just figured this small change to be a marginal improvement!
Adding an explicit "test fixture" struct makes call-sites more readable (named args!) and makes making further changes easier. No particular grand plan here, just figured this small change to be a marginal improvement!
Adding an explicit "test fixture" struct makes call-sites more readable (named args!) and makes making further changes easier.
No particular grand plan here, just figured this small change to be a marginal improvement!