You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "lucasbru (via GitHub)" <gi...@apache.org> on 2026/10/01 09:52:26 UTC
[PR] MINOR: Add CLI test coverage for StreamsGroupTopologyDescriptionStatus.ERROR [kafka]
lucasbru opened a new pull request, #23657:
URL: https://github.com/apache/kafka/pull/23657
The describe --topology command in StreamsGroupCommand already handles the ERROR topology description status correctly, returning a non-zero exit code and printing a message pointing to the broker logs. This path was not covered by a test, unlike the AVAILABLE and NOT_STORED statuses which already have dedicated tests in StreamsGroupCommandTest.
This PR adds a test for the ERROR status following the same pattern as the existing coverage, asserting both the exit code and the printed error message.
--
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] MINOR: Add CLI test coverage for StreamsGroupTopologyDescriptionStatus.ERROR [kafka]
Posted by "lucasbru (via GitHub)" <gi...@apache.org>.
lucasbru merged PR #23657:
URL: https://github.com/apache/kafka/pull/23657
--
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] MINOR: Add CLI test coverage for StreamsGroupTopologyDescriptionStatus.ERROR [kafka]
Posted by "andyhuangdev (via GitHub)" <gi...@apache.org>.
andyhuangdev commented on PR #23657:
URL: https://github.com/apache/kafka/pull/23657#issuecomment-5929274357
Could we parameterize this test together with `testDescribeStreamsGroupsWithTopologyNotStored`? They share the same setup and expected exit code, with only the topology status and error message differing. Passing those as parameters would avoid duplicating the setup and also add message verification for `NOT_STORED`.
--
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] MINOR: Add CLI test coverage for StreamsGroupTopologyDescriptionStatus.ERROR [kafka]
Posted by "lucasbru (via GitHub)" <gi...@apache.org>.
lucasbru commented on PR #23657:
URL: https://github.com/apache/kafka/pull/23657#issuecomment-5929529900
Good suggestion, done in 3312d82.
--
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