clolov commented on code in PR #14716:
URL: https://github.com/apache/kafka/pull/14716#discussion_r1557435857
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StreamTaskTest.java:
##########
@@ -1958,64 +1859,58 @@ public void
shouldNotCheckpointForSuspendedRunningTaskWithSmallProgress() {
task.suspend();
task.postCommit(false);
- EasyMock.verify(stateManager);
+
+ verify(stateManager).checkpoint(); // checkpoint should only be called
once
Review Comment:
I moved the same comment from the setup to the verification, but you are
correct, it is not needed, I shall remove 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]