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

isapego 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 79e6b8c440 IGNITE-21620 Increase clientConnector.idleTimeout for 
client tests (#3437)
79e6b8c440 is described below

commit 79e6b8c440d6abb5f0d61be64669836745acbdf6
Author: Igor Sapego <[email protected]>
AuthorDate: Tue Mar 19 14:56:22 2024 +0400

    IGNITE-21620 Increase clientConnector.idleTimeout for client tests (#3437)
---
 .../platforms/dotnet/Apache.Ignite.Tests/HeartbeatTests.cs | 14 +++++++-------
 .../ignite/internal/runner/app/PlatformTestNodeRunner.java |  8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Tests/HeartbeatTests.cs 
b/modules/platforms/dotnet/Apache.Ignite.Tests/HeartbeatTests.cs
index bae85b5fb3..244062ef6f 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Tests/HeartbeatTests.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Tests/HeartbeatTests.cs
@@ -53,9 +53,9 @@ namespace Apache.Ignite.Tests
             var log = await 
ConnectAndGetLog(IgniteClientConfiguration.DefaultHeartbeatInterval);
 
             StringAssert.Contains(
-                "[Warning] Server-side IdleTimeout is 00:00:03, " +
+                "[Warning] Server-side IdleTimeout is 00:00:06, " +
                 "configured IgniteClientConfiguration.HeartbeatInterval is 
00:00:30, which is longer than recommended IdleTimeout / 3. " +
-                "Overriding heartbeat interval with max(IdleTimeout / 3, 
500ms): 00:00:01",
+                "Overriding heartbeat interval with max(IdleTimeout / 3, 
500ms): 00:00:02",
                 log);
         }
 
@@ -65,7 +65,7 @@ namespace Apache.Ignite.Tests
             var log = await ConnectAndGetLog(TimeSpan.FromMilliseconds(50));
 
             StringAssert.Contains(
-                "[Information] Server-side IdleTimeout is 00:00:03, " +
+                "[Information] Server-side IdleTimeout is 00:00:06, " +
                 "using configured IgniteClientConfiguration.HeartbeatInterval: 
00:00:00.0500000",
                 log);
         }
@@ -73,12 +73,12 @@ namespace Apache.Ignite.Tests
         [Test]
         public async Task 
TestCustomHeartbeatIntervalLongerThanRecommendedDoesNotOverrideCalculatedFromIdleTimeout()
         {
-            var log = await ConnectAndGetLog(TimeSpan.FromSeconds(4));
+            var log = await ConnectAndGetLog(TimeSpan.FromSeconds(8));
 
             StringAssert.Contains(
-                "[Warning] Server-side IdleTimeout is 00:00:03, " +
-                "configured IgniteClientConfiguration.HeartbeatInterval is 
00:00:04, which is longer than recommended IdleTimeout / 3. " +
-                "Overriding heartbeat interval with max(IdleTimeout / 3, 
500ms): 00:00:01",
+                "[Warning] Server-side IdleTimeout is 00:00:06, " +
+                "configured IgniteClientConfiguration.HeartbeatInterval is 
00:00:08, which is longer than recommended IdleTimeout / 3. " +
+                "Overriding heartbeat interval with max(IdleTimeout / 3, 
500ms): 00:00:02",
                 log);
         }
 
diff --git 
a/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/PlatformTestNodeRunner.java
 
b/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/PlatformTestNodeRunner.java
index c221fb132a..593c8bc1ed 100644
--- 
a/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/PlatformTestNodeRunner.java
+++ 
b/modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/PlatformTestNodeRunner.java
@@ -121,7 +121,7 @@ public class PlatformTestNodeRunner {
     /** Nodes bootstrap configuration. */
     private static final Map<String, String> nodesBootstrapCfg = Map.of(
             NODE_NAME, "{\n"
-                    + "  \"clientConnector\":{\"port\": 
10942,\"idleTimeout\":3000,\""
+                    + "  \"clientConnector\":{\"port\": 
10942,\"idleTimeout\":6000,\""
                     + "sendServerExceptionStackTraceToClient\":true},"
                     + "  \"network\": {\n"
                     + "    \"port\":3344,\n"
@@ -133,7 +133,7 @@ public class PlatformTestNodeRunner {
                     + "}",
 
             NODE_NAME2, "{\n"
-                    + "  \"clientConnector\":{\"port\": 
10943,\"idleTimeout\":3000,"
+                    + "  \"clientConnector\":{\"port\": 
10943,\"idleTimeout\":6000,"
                     + "\"sendServerExceptionStackTraceToClient\":true},"
                     + "  \"network\": {\n"
                     + "    \"port\":3345,\n"
@@ -147,7 +147,7 @@ public class PlatformTestNodeRunner {
             NODE_NAME3, "{\n"
                     + "  \"clientConnector\":{"
                     + "    \"port\": 10944,"
-                    + "    \"idleTimeout\":3000,"
+                    + "    \"idleTimeout\":6000,"
                     + "    \"sendServerExceptionStackTraceToClient\":true, "
                     + "    \"ssl\": {\n"
                     + "      enabled: true,\n"
@@ -169,7 +169,7 @@ public class PlatformTestNodeRunner {
             NODE_NAME4, "{\n"
                     + "  \"clientConnector\":{"
                     + "    \"port\": 10945,"
-                    + "    \"idleTimeout\":3000,"
+                    + "    \"idleTimeout\":6000,"
                     + "    \"sendServerExceptionStackTraceToClient\":true, "
                     + "    \"ssl\": {\n"
                     + "      enabled: true,\n"

Reply via email to