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

ptupitsyn 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 64babed7149 IGNITE-26667 .NET: Fix flaky 
IgniteProxyTests.TestBasicProxying (#6796)
64babed7149 is described below

commit 64babed714938d6d10bbd6317b3463e108d60d93
Author: Pavel Tupitsyn <[email protected]>
AuthorDate: Tue Oct 21 11:36:49 2025 +0300

    IGNITE-26667 .NET: Fix flaky IgniteProxyTests.TestBasicProxying (#6796)
---
 modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxyTests.cs | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxyTests.cs 
b/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxyTests.cs
index 79e834ec301..58546e1621e 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxyTests.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Tests/IgniteProxyTests.cs
@@ -18,6 +18,7 @@
 namespace Apache.Ignite.Tests;
 
 using System.Linq;
+using System.Net;
 using System.Threading.Tasks;
 using Internal.Proto;
 using NUnit.Framework;
@@ -30,7 +31,7 @@ public class IgniteProxyTests : IgniteTestsBase
     [Test]
     public async Task TestBasicProxying()
     {
-        var addr = Client.GetConnections().First().Node.Address;
+        EndPoint addr = Client.GetConnections().First().Node.Address;
         using var proxy = new IgniteProxy(addr, "test");
         using var client = await IgniteClient.StartAsync(new 
IgniteClientConfiguration(proxy.Endpoint));
 
@@ -39,6 +40,8 @@ public class IgniteProxyTests : IgniteTestsBase
 
         Assert.Greater(tables.Count, 1);
         Assert.IsNotNull(table);
-        Assert.AreEqual(new[] { ClientOp.TablesGetQualified, 
ClientOp.TableGetQualified }, proxy.ClientOps);
+
+        var ops = proxy.ClientOps.Except([ClientOp.Heartbeat]).ToList();
+        Assert.AreEqual(new[] { ClientOp.TablesGetQualified, 
ClientOp.TableGetQualified }, ops);
     }
 }

Reply via email to