This is an automated email from the ASF dual-hosted git repository.
nizhikov pushed a commit to branch remove_deployment_spi
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/remove_deployment_spi by this
push:
new a7b9b5060f7 WIP
a7b9b5060f7 is described below
commit a7b9b5060f77d72287f114358736f5bfa373b2d7
Author: Nikolay Izhikov <[email protected]>
AuthorDate: Tue Mar 10 13:34:48 2026 +0300
WIP
---
.../GridDiscoveryManagerAttributesSelfTest.java | 31 ----------------------
1 file changed, 31 deletions(-)
diff --git
a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
index a89a8dfb11f..c6907fa33f8 100644
---
a/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
+++
b/modules/core/src/test/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManagerAttributesSelfTest.java
@@ -19,7 +19,6 @@ package org.apache.ignite.internal.managers.discovery;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteCheckedException;
-import org.apache.ignite.configuration.DeploymentMode;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.IgniteEx;
import org.apache.ignite.marshaller.Marshallers;
@@ -30,8 +29,6 @@ import org.junit.Test;
import static
org.apache.ignite.IgniteSystemProperties.IGNITE_BINARY_MARSHALLER_USE_STRING_SERIALIZATION_VER_2;
import static
org.apache.ignite.IgniteSystemProperties.IGNITE_OPTIMIZED_MARSHALLER_USE_DEFAULT_SUID;
import static
org.apache.ignite.IgniteSystemProperties.IGNITE_SECURITY_COMPATIBILITY_MODE;
-import static org.apache.ignite.configuration.DeploymentMode.CONTINUOUS;
-import static org.apache.ignite.configuration.DeploymentMode.SHARED;
/**
* Tests for node attributes consistency checks.
@@ -40,9 +37,6 @@ public class GridDiscoveryManagerAttributesSelfTest extends
GridCommonAbstractTe
/** */
private static final String PREFER_IPV4 = "java.net.preferIPv4Stack";
- /** */
- private static DeploymentMode mode;
-
/** */
private static boolean p2pEnabled;
@@ -54,7 +48,6 @@ public class GridDiscoveryManagerAttributesSelfTest extends
GridCommonAbstractTe
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);
cfg.setIncludeProperties(PREFER_IPV4);
- cfg.setDeploymentMode(mode);
cfg.setPeerClassLoadingEnabled(p2pEnabled);
if (secEnabled)
@@ -65,8 +58,6 @@ public class GridDiscoveryManagerAttributesSelfTest extends
GridCommonAbstractTe
/** {@inheritDoc} */
@Override protected void beforeTest() throws Exception {
- mode = SHARED;
-
p2pEnabled = false;
}
@@ -315,28 +306,6 @@ public class GridDiscoveryManagerAttributesSelfTest
extends GridCommonAbstractTe
}
}
- /**
- * @throws Exception If failed.
- */
- @Test
- public void testDifferentDeploymentModes() throws Exception {
- IgniteEx g = startGrid(0);
-
- checkIsClientFlag(g);
-
- mode = CONTINUOUS;
-
- try {
- startClientGrid(1);
-
- fail();
- }
- catch (IgniteCheckedException e) {
- if (!e.getCause().getMessage().startsWith("Remote node has
deployment mode different from"))
- throw e;
- }
- }
-
/**
* @throws Exception If failed.
*/