Skip to content

Commit

Permalink
Move MetaDataPersistService from MetaDataContexts to PersistServiceFa…
Browse files Browse the repository at this point in the history
…cade
  • Loading branch information
menghaoranss committed May 24, 2024
1 parent 269a406 commit e0715e7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ private ContextManager mockContextManager() {
when(metaDataPersistService.getPropsService()).thenReturn(mock(PropertiesPersistService.class));
ContextManager result = new ContextManager(MetaDataContextsFactory.create(metaDataPersistService, new ShardingSphereMetaData()),
new ComputeNodeInstanceContext(new ComputeNodeInstance(mock(InstanceMetaData.class)), mock(WorkerIdGenerator.class),
new ModeConfiguration("Standalone", null), mock(LockContext.class), new EventBusContext()), mock(PersistRepository.class));
new ModeConfiguration("Standalone", null), mock(LockContext.class), new EventBusContext()),
mock(PersistRepository.class));
return result;
}
}

0 comments on commit e0715e7

Please sign in to comment.