philipnee commented on code in PR #13269:
URL: https://github.com/apache/kafka/pull/13269#discussion_r1149285314


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StreamTaskTest.java:
##########
@@ -1699,7 +1705,8 @@ public void 
shouldReturnOffsetsForRepartitionTopicsForPurging() {
         consumer.assign(asList(partition1, repartition));
         consumer.updateBeginningOffsets(mkMap(mkEntry(repartition, 0L)));
 
-        
EasyMock.expect(stateManager.changelogPartitions()).andReturn(Collections.emptySet());
+        
EasyMock.expect(stateManager.changelogOffsets()).andReturn(Collections.emptyMap());
 // restoration checkpoint
+        
EasyMock.expect(stateManager.changelogPartitions()).andReturn(Collections.emptySet()).times(2);

Review Comment:
   Thanks, I think that make sense.



-- 
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