clolov commented on code in PR #14716:
URL: https://github.com/apache/kafka/pull/14716#discussion_r1553284545
##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/StreamTaskTest.java:
##########
@@ -514,8 +496,6 @@ public void
shouldTransitToRestoringThenRunningAfterCreation() throws IOExceptio
assertEquals(RUNNING, task.state());
assertTrue(source1.initialized);
assertTrue(source2.initialized);
-
- EasyMock.verify(stateDirectory);
Review Comment:
Yeah, this is where I should have been more explicit:
```
EasyMock.expect(stateManager.changelogPartitions()).andReturn(singleton(changelogPartition));
```
is reported as an unnecessary stub and
```
stateManager.registerStore(stateStore, stateStore.stateRestoreCallback,
null);
```
if verified is reported as not called
--
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]