ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [18/50] ignite git commit: .NET: Fix TestClusterRestart
Date Fri, 16 Jun 2017 09:42:14 GMT
.NET: Fix TestClusterRestart


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/77aa61b0
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/77aa61b0
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/77aa61b0

Branch: refs/heads/ignite-5267-1
Commit: 77aa61b071cf725ef54b26bc1d6c1945a66e0354
Parents: 269e57c
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Thu Jun 15 18:08:32 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Thu Jun 15 18:08:32 2017 +0300

----------------------------------------------------------------------
 .../platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/77aa61b0/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
index 4013b5a..7e6222f 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
@@ -100,7 +100,8 @@ namespace Apache.Ignite.Core.Tests
 
             // Check that old cache instance does not work.
             var cacheEx1 = Assert.Throws<InvalidOperationException>(() => cache.Get(1));
-            Assert.AreEqual("Cache has been closed or destroyed: " + CacheName, cacheEx1.Message);
+            Assert.IsTrue(cacheEx1.Message.EndsWith("Failed to perform cache operation (cache
is stopped): cache"), 
+                cacheEx1.Message);
         }
 
         /// <summary>


Mime
View raw message