diff --git a/modules/platforms/dotnet/Apache.Ignite.AspNet.Tests/App.config b/modules/platforms/dotnet/Apache.Ignite.AspNet.Tests/App.config index 016078e069ac5..9dad03a80002b 100644 --- a/modules/platforms/dotnet/Apache.Ignite.AspNet.Tests/App.config +++ b/modules/platforms/dotnet/Apache.Ignite.AspNet.Tests/App.config @@ -29,8 +29,8 @@ - - + + 127.0.0.1:47500 @@ -44,7 +44,7 @@ - + 127.0.0.1:47500 @@ -58,7 +58,7 @@ - + 127.0.0.1:47500 diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs index e336b52a6f1d8..6c4639dfa5d90 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Compute/ComputeTaskSessionTest.cs @@ -75,7 +75,8 @@ private static IgniteConfiguration GetIgniteConfiguration(string igniteName, boo ConsistentId = igniteName, IgniteInstanceName = igniteName, DiscoverySpi = GetStaticDiscovery(), - JvmOptions = TestJavaOptions() + JvmOptions = TestJavaOptions(), + Localhost = "127.0.0.1" }; /// diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/TestUtils.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/TestUtils.cs index c9ef65f4ab4b9..6652a87440b5a 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/TestUtils.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/TestUtils.cs @@ -371,7 +371,14 @@ public static TcpDiscoverySpi GetStaticDiscovery(int? maxPort = null) { Endpoints = new[] { "127.0.0.1:47500" + (maxPort == null ? null : (".." + maxPort)) } }, - SocketTimeout = TimeSpan.FromSeconds(0.3) + SocketTimeout = TimeSpan.FromSeconds(0.3), + // If the finder port is squatted at bind time (e.g. lingering teardown of the previous + // fixture), the node binds the next port and the default infinite join retries the finder + // address forever, eating the whole suite execution timeout: fail the test fast instead. + // MaxAckTimeout caps the exponential handshake backoff, otherwise a single retry sweep + // takes up to 20 minutes and JoinTimeout, checked between sweeps, never gets a chance. + JoinTimeout = TimeSpan.FromMinutes(2), + MaxAckTimeout = TimeSpan.FromSeconds(10) }; } diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/app.config b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/app.config index 845680633c3bd..b2bc4c8437858 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/app.config +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/app.config @@ -32,8 +32,8 @@ - - + + 127.0.0.1:47500 @@ -47,7 +47,7 @@ - + 127.0.0.1:47500 diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/custom_app.config b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/custom_app.config index 9fa96f5a4985a..68d31ef7273c7 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/custom_app.config +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/custom_app.config @@ -27,7 +27,7 @@ - + 127.0.0.1:47500 diff --git a/modules/platforms/dotnet/Apache.Ignite.EntityFramework.Tests/App.config b/modules/platforms/dotnet/Apache.Ignite.EntityFramework.Tests/App.config index 0e0da8d457653..7c1ce90ee4c4f 100644 --- a/modules/platforms/dotnet/Apache.Ignite.EntityFramework.Tests/App.config +++ b/modules/platforms/dotnet/Apache.Ignite.EntityFramework.Tests/App.config @@ -25,8 +25,8 @@ - - + + 127.0.0.1:47500 @@ -39,7 +39,7 @@ - + 127.0.0.1:47500