sergeyuttsel commented on code in PR #2059:
URL: https://github.com/apache/ignite-3/pull/2059#discussion_r1191227594
##########
modules/distribution-zones/src/test/java/org/apache/ignite/internal/distributionzones/BaseDistributionZoneManagerTest.java:
##########
@@ -84,6 +93,20 @@ void setUp() {
components.add(metaStorageManager);
+ cfgStorage = new DistributedConfigurationStorage(metaStorageManager,
vaultMgr);
+
+ cfgMgr = new ConfigurationManager(
+ List.of(DistributionZonesConfiguration.KEY),
+ Set.of(),
+ cfgStorage,
+ List.of(),
+ List.of(TestPersistStorageConfigurationSchema.class)
+ );
+
+ ConfigurationRegistry registry = cfgMgr.configurationRegistry();
+
+ components.add(registry);
Review Comment:
I see that ConfigurationManager.start() invokes
ConfigurationRegistry.start(). Also IgniteImpl used
ConfigurationManager.start() only. So I added ConfigurationManager.start() and
removed ConfigurationRegistry.start().
--
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]