sandynz commented on pull request #16011:
URL: https://github.com/apache/shardingsphere/pull/16011#issuecomment-1066037315


   > Could you kindly provide an example on how to exactly prepare 
metaDataPersistService?
   
   General steps:
   1. Mock `ClusterPersistRepository`, new `MetaDataPersistService` object, new 
`MetaDataContexts` object
   2. New `ContextManager` object, initialize `metaDataContexts` in 
`ContextManager` by `contextManager.init(metaDataContexts);`
   3. Initialize `contextManager` in `PipelineContext` by 
`PipelineContext.initContextManager(contextManager);`
   


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


Reply via email to