dajac commented on code in PR #21008:
URL: https://github.com/apache/kafka/pull/21008#discussion_r2568748231
##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupCoordinatorServiceTest.java:
##########
@@ -6032,7 +6029,9 @@ GroupCoordinatorService build() {
GroupCoordinatorService build(boolean serviceStartup) {
if (metadataImage == null) {
- metadataImage = mock(CoordinatorMetadataImage.class);
+ metadataImage = new MetadataImageBuilder()
+ .addTopic(TOPIC_ID, TOPIC_NAME, 1)
+ .build();
Review Comment:
This change is semi-related. It is just easier to build the image rather
than mocking it.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]