Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ public void testRegisterPersistentStore() throws IOException {
));
restoreConsumer.updateEndOffsets(Collections.singletonMap(new TopicPartition("persistentStore", 2), 13L));

MockStateStore persistentStore = new MockStateStore("persistentStore", false); // non persistent store
MockStateStore persistentStore = new MockStateStore("persistentStore", true); // persistent store

ProcessorStateManager stateMgr = new ProcessorStateManager(2, baseDir, restoreConsumer);
try {
Expand Down Expand Up @@ -331,7 +331,7 @@ public void testRegisterNonPersistentStore() throws IOException {
));
restoreConsumer.updateEndOffsets(Collections.singletonMap(new TopicPartition("persistentStore", 2), 13L));

MockStateStore nonPersistentStore = new MockStateStore("nonPersistentStore", true); // persistent store
MockStateStore nonPersistentStore = new MockStateStore("nonPersistentStore", true); // non persistent store

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be false?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad, thanks.


ProcessorStateManager stateMgr = new ProcessorStateManager(2, baseDir, restoreConsumer);
try {
Expand Down