mjsax commented on a change in pull request #9047:
URL: https://github.com/apache/kafka/pull/9047#discussion_r460309750



##########
File path: streams/src/test/java/org/apache/kafka/test/NoOpReadOnlyStore.java
##########
@@ -78,6 +78,7 @@ public void init(final ProcessorContext context, final 
StateStore root) {
             new File(context.stateDir() + File.separator + name).mkdir();
         }
         this.initialized = true;
+        context.register(root, (k, v) -> { });

Review comment:
       That is what the real code does, too. Otherwise we need to call 
`register` manually in the tests what is annoying.




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

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


Reply via email to