You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ni...@apache.org on 2024/12/06 09:24:07 UTC

(ignite) branch master updated: IGNITE-23887 Remove setForceServerMode from IgniteCacheAbstractQuerySelfTest (#11711)

This is an automated email from the ASF dual-hosted git repository.

nizhikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 49321cd7081 IGNITE-23887 Remove setForceServerMode from IgniteCacheAbstractQuerySelfTest (#11711)
49321cd7081 is described below

commit 49321cd7081a49d8f49dd9d66d8f39a141d1bcaf
Author: Nikolay <ni...@apache.org>
AuthorDate: Fri Dec 6 12:24:00 2024 +0300

    IGNITE-23887 Remove setForceServerMode from IgniteCacheAbstractQuerySelfTest (#11711)
---
 .../internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java    | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
index 8918f094664..d50bc44b2c1 100644
--- a/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
+++ b/modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/IgniteCacheAbstractQuerySelfTest.java
@@ -91,7 +91,6 @@ import org.apache.ignite.internal.util.typedef.internal.S;
 import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.lang.IgniteBiPredicate;
 import org.apache.ignite.lang.IgnitePredicate;
-import org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi;
 import org.apache.ignite.testframework.GridTestUtils;
 import org.apache.ignite.testframework.junits.WithSystemProperty;
 import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest;
@@ -153,8 +152,6 @@ public abstract class IgniteCacheAbstractQuerySelfTest extends GridCommonAbstrac
     @Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception {
         IgniteConfiguration c = super.getConfiguration(igniteInstanceName);
 
-        ((TcpDiscoverySpi)c.getDiscoverySpi()).setForceServerMode(true);
-
         if (igniteInstanceName.startsWith("client"))
             c.setDataStorageConfiguration(new DataStorageConfiguration());