Yunyung commented on code in PR #19925:
URL: https://github.com/apache/kafka/pull/19925#discussion_r2134749318


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StreamsPartitionAssignorTest.java:
##########
@@ -893,8 +893,8 @@ public void testAssignEmptyMetadata(final Map<String, 
Object> parameterizedConfi
         // then metadata gets populated
         assignments = partitionAssignor.assign(metadata, new 
GroupSubscription(subscriptions)).groupAssignment();
         // check assigned partitions
-        assertEquals(Set.of(new HashSet<>(List.of(t1p0, t2p0, t1p0, t2p0, 
t1p1, t2p1, t1p2, t2p2))),

Review Comment:
   Also remove unnecessary duplicates t1p0, t2p0.



-- 
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-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to