-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
KAFKA-17526: make ConfigCommandIntegrationTest.java test use correct arguments in testing alias #17201
Conversation
…arguments in testing alias
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.
@frankvicky thanks for your refactor
@@ -324,11 +324,13 @@ public void testDynamicBrokerConfigUpdateUsingKraft() throws Exception { | |||
|
|||
@ClusterTest(types = {Type.KRAFT, Type.CO_KRAFT}) | |||
public void testGroupConfigUpdateUsingKraft() throws Exception { | |||
alterOpts = asList("--bootstrap-server", cluster.bootstrapServers(), "--entity-type", "groups", "--alter"); | |||
alterOpts = Stream.concat(entityOp(Optional.of(defaultGroupName)).stream(), |
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.
Can we make alterOpts a local variable? it is a bit chaos that alterOpts
can be modified by any method.
@frankvicky Could you please rebase code to include recent fix? |
@frankvicky please fix the conflicts |
Hi @chia7712 |
…rguments in testing alias (apache#17201) Reviewers: Chia-Ping Tsai <[email protected]>
…rguments in testing alias (apache#17201) Reviewers: Chia-Ping Tsai <[email protected]>
…rguments in testing alias (apache#17201) Reviewers: Chia-Ping Tsai <[email protected]>
JIRA: KAFKA-17526
This PR reviews existing tests and refactors the validation to ensure the command is generated correctly.
Committer Checklist (excluded from commit message)