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 2022/12/27 18:43:15 UTC

[ignite] branch master updated: IGNITE-17724 .NET: Fix TestPrimaryNodeLeaveClearsPlatformCache flakiness (#10457)

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

ptupitsyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new defb30d7ad9 IGNITE-17724 .NET: Fix TestPrimaryNodeLeaveClearsPlatformCache flakiness (#10457)
defb30d7ad9 is described below

commit defb30d7ad9ce6d37868c10bbcc63e85813352f0
Author: Pavel Tupitsyn <pt...@apache.org>
AuthorDate: Tue Dec 27 21:43:03 2022 +0300

    IGNITE-17724 .NET: Fix TestPrimaryNodeLeaveClearsPlatformCache flakiness (#10457)
---
 .../Cache/Platform/PlatformCacheTopologyChangeTest.cs                   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Platform/PlatformCacheTopologyChangeTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Platform/PlatformCacheTopologyChangeTest.cs
index ed73bc53ff2..71a5e39c872 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Platform/PlatformCacheTopologyChangeTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Platform/PlatformCacheTopologyChangeTest.cs
@@ -84,6 +84,8 @@ namespace Apache.Ignite.Core.Tests.Cache.Platform
             TestUtils.WaitForTrueCondition(() => !_cache[0].ContainsKey(Key3));
             Assert.Throws<KeyNotFoundException>(() => _cache[0].Get(Key3));
             Assert.Throws<KeyNotFoundException>(() => _cache[1].Get(Key3));
+
+            TestUtils.WaitForTrueCondition(() => !clientCache.ContainsKey(Key3));
             Assert.Throws<KeyNotFoundException>(() => clientCache.Get(Key3));
 
             // Check that updates for that key work on all nodes.