fsk119 commented on pull request #15087: URL: https://github.com/apache/flink/pull/15087#issuecomment-791212626
Hi, @LadyForest. I am not sure it's a good idea to introduce a test method in the `LocalExecutor`. I think the best way is to add a helper method in the ITCase like ``` private ModuleManager getModuleManager(LocalExecutor executor, String sessionId) { ExecutionContext<?> context = executor.getExecutionContext(sessionId); return context.getSessionState().moduleManager; } ``` In this way you can retrive the info you need. ---------------------------------------------------------------- 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