You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "frankvicky (via GitHub)" <gi...@apache.org> on 2024/09/15 06:32:14 UTC
[PR] KAFKA-17526: make ConfigCommandIntegrationTest.java test use correct arguments in testing alias [kafka]
frankvicky opened a new pull request, #17201:
URL: https://github.com/apache/kafka/pull/17201
JIRA: [KAFKA-17526](https://issues.apache.org/jira/browse/KAFKA-17526)
This PR reviews existing tests and refactors the validation to ensure the command is generated correctly.
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17526: make ConfigCommandIntegrationTest.java test use correct arguments in testing alias [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on PR #17201:
URL: https://github.com/apache/kafka/pull/17201#issuecomment-2377584587
@frankvicky Could you please rebase code to include recent fix?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17526: make ConfigCommandIntegrationTest.java test use correct arguments in testing alias [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #17201:
URL: https://github.com/apache/kafka/pull/17201
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-17526: make ConfigCommandIntegrationTest.java test use correct arguments in testing alias [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #17201:
URL: https://github.com/apache/kafka/pull/17201#discussion_r1773733074
##########
core/src/test/java/kafka/admin/ConfigCommandIntegrationTest.java:
##########
@@ -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(),
Review Comment:
Can we make alterOpts a local variable? it is a bit chaos that `alterOpts` can be modified by any method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org