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

apolovtsev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new bf084b5c293 IGNITE-26249 Reduce direct memory consumption in 
ItNodeTest (#7430)
bf084b5c293 is described below

commit bf084b5c293dcb357f3be9028550632901e6b869
Author: Alexander Polovtcev <[email protected]>
AuthorDate: Mon Jan 19 11:39:49 2026 +0200

    IGNITE-26249 Reduce direct memory consumption in ItNodeTest (#7430)
---
 modules/raft/build.gradle                                           | 6 ++++++
 .../java/org/apache/ignite/raft/jraft/core/ItNodeTest.java          | 5 +----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/modules/raft/build.gradle b/modules/raft/build.gradle
index de2a3a40451..d9b56187f2f 100644
--- a/modules/raft/build.gradle
+++ b/modules/raft/build.gradle
@@ -119,3 +119,9 @@ dependencies {
     integrationTestImplementation libs.dropwizard.metrics
     integrationTestImplementation libs.disruptor
 }
+
+tasks.named('integrationTest').configure {
+    // Default allocator in Netty 4.2.+ consumes too much direct memory, which 
breaks some tests in this module, so we use the default
+    // value from older versions.
+    jvmArgs += '-Dio.netty.allocator.type=pooled'
+}
diff --git 
a/modules/raft/src/integrationTest/java/org/apache/ignite/raft/jraft/core/ItNodeTest.java
 
b/modules/raft/src/integrationTest/java/org/apache/ignite/raft/jraft/core/ItNodeTest.java
index 49fa0d6a47c..64f7458e35b 100644
--- 
a/modules/raft/src/integrationTest/java/org/apache/ignite/raft/jraft/core/ItNodeTest.java
+++ 
b/modules/raft/src/integrationTest/java/org/apache/ignite/raft/jraft/core/ItNodeTest.java
@@ -178,7 +178,7 @@ import org.junit.jupiter.api.TestInfo;
 import org.junit.jupiter.api.extension.ExtendWith;
 
 /**
- * Integration tests for raft cluster. TODO asch get rid of sleeps wherether 
possible IGNITE-14832
+ * Integration tests for raft cluster. TODO asch get rid of sleeps wherever 
possible IGNITE-14832
  */
 @ExtendWith(WorkDirectoryExtension.class)
 public class ItNodeTest extends BaseIgniteAbstractTest {
@@ -4152,7 +4152,6 @@ public class ItNodeTest extends BaseIgniteAbstractTest {
         });
     }
 
-    @Disabled("https://issues.apache.org/jira/browse/IGNITE-26249";)
     @Test
     public void testChangePeersAndLearnersChaosWithSnapshot() throws Exception 
{
         // start cluster
@@ -4199,7 +4198,6 @@ public class ItNodeTest extends BaseIgniteAbstractTest {
     }
 
     @Test
-    @Disabled("https://issues.apache.org/jira/browse/IGNITE-26249";)
     public void testChangePeersAndLearnersChaosWithoutSnapshot() throws 
Exception {
         // start cluster
         List<TestPeer> peers = new ArrayList<>();
@@ -4247,7 +4245,6 @@ public class ItNodeTest extends BaseIgniteAbstractTest {
     }
 
     @Test
-    @Disabled("https://issues.apache.org/jira/browse/IGNITE-26249";)
     public void testChangePeersAndLearnersChaosApplyTasks() throws Exception {
         // start cluster
         List<TestPeer> peers = new ArrayList<>();

Reply via email to