Flaugh24 commented on code in PR #2817:
URL: https://github.com/apache/ignite-3/pull/2817#discussion_r1390793251
##########
modules/cluster-management/src/integrationTest/java/org/apache/ignite/internal/cluster/management/ItClusterManagerTest.java:
##########
@@ -102,6 +99,26 @@ void testInit(TestInfo testInfo) throws Exception {
assertThat(cluster.get(1).logicalTopologyNodes(),
will(containsInAnyOrder(expectedTopology)));
}
+ /**
+ * Tests initial cluster setup with provided configuration.
+ */
+ @Test
+ void testInitWithProvidedConfiguration(TestInfo testInfo) throws Exception
{
+ startCluster(3, testInfo);
+
+ String[] cmgNodes = { cluster.get(0).name() };
+
+ String[] metaStorageNodes = { cluster.get(1).name() };
+
+ String configuration = "{security: {enabled: true}}";
+
+ initCluster(metaStorageNodes, cmgNodes, configuration);
+
+ for (MockNode node : cluster) {
Review Comment:
We verify that all cluster members have received the configuration after
joining. The responsibility for initializing the configuration lies with
another component, IgniteImpl, which is not utilized in these tests. However,
we do have multiple authentication tests that apply a custom configuration when
initializing the cluster.
--
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]