-
Notifications
You must be signed in to change notification settings - Fork 14.4k
KAFKA-18267: Add unit tests for CloseOptions #19571
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
Conversation
62e794f
to
b1cb889
Compare
b1cb889
to
3017aa3
Compare
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.
Thanks, LGTM
@@ -84,10 +77,7 @@ public static CloseOptions timeout(final Duration timeout) { | |||
* @return a new {@code CloseOptions} instance with the specified group membership operation. | |||
*/ | |||
public static CloseOptions groupMembershipOperation(final GroupMembershipOperation operation) { |
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.
Could you please add unit test for it?
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.
done
There is some redundant code that could be removed in `CloseOptions`. This patch also adds unit tests for CloseOptions. Reviewers: Ken Huang <[email protected]>, PoAn Yang <[email protected]>, Chia-Ping Tsai <[email protected]>
There is some redundant code that could be removed in
CloseOptions
.This patch also adds unit tests for CloseOptions.
Reviewers: Ken Huang [email protected], PoAn Yang
[email protected], Chia-Ping Tsai [email protected]