You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2025/10/06 12:38:16 UTC

(ignite-3) branch main updated: IGNITE-26529 .NET: Fix IgniteDistributedCacheTests.TestCustomTableAndColumnNames flakiness (#6684)

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 39c175686d9 IGNITE-26529 .NET: Fix IgniteDistributedCacheTests.TestCustomTableAndColumnNames flakiness (#6684)
39c175686d9 is described below

commit 39c175686d9e1d6e04bbfaa41214cae55d718a7d
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Mon Oct 6 15:38:10 2025 +0300

    IGNITE-26529 .NET: Fix IgniteDistributedCacheTests.TestCustomTableAndColumnNames flakiness (#6684)
---
 .../IgniteDistributedCacheTests.cs                                | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/IgniteDistributedCacheTests.cs b/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/IgniteDistributedCacheTests.cs
index 1016c095ffb..3f0d53f0a41 100644
--- a/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/IgniteDistributedCacheTests.cs
+++ b/modules/platforms/dotnet/Apache.Extensions.Caching.Ignite.Tests/IgniteDistributedCacheTests.cs
@@ -30,9 +30,15 @@ public class IgniteDistributedCacheTests : IgniteTestsBase
 {
     private IgniteClientGroup _clientGroup = null!;
 
+    // Override the base client to avoid causality issues due to a separate client instance.
+    private new IIgnite Client { get; set; }
+
     [OneTimeSetUp]
-    public void InitClientGroup() =>
+    public async Task InitClientGroup()
+    {
         _clientGroup = new IgniteClientGroup(new IgniteClientGroupConfiguration { ClientConfiguration = GetConfig() });
+        Client = await _clientGroup.GetIgniteAsync();
+    }
 
     [OneTimeTearDown]
     public void StopClientGroup() =>