Repository: ignite
Updated Branches:
  refs/heads/ignite-2.5 cd59c8e64 -> acfef907d


IGNITE-2766 Fix .net test. - Fixes #3853.

Signed-off-by: dpavlov <[email protected]>

(cherry picked from commit 96cb795)


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

Branch: refs/heads/ignite-2.5
Commit: acfef907db8204ac93fc235770f36bf7f61269c3
Parents: cd59c8e
Author: Ilya Kasnacheev <[email protected]>
Authored: Tue Apr 17 19:50:51 2018 +0300
Committer: dpavlov <[email protected]>
Committed: Tue Apr 17 19:51:23 2018 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/acfef907/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 7e6222f..274439e 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs
@@ -98,10 +98,8 @@ namespace Apache.Ignite.Core.Tests
             cache1[1] = 2;
             Assert.AreEqual(2, cache1[1]);
 
-            // Check that old cache instance does not work.
-            var cacheEx1 = Assert.Throws<InvalidOperationException>(() => 
cache.Get(1));
-            Assert.IsTrue(cacheEx1.Message.EndsWith("Failed to perform cache 
operation (cache is stopped): cache"), 
-                cacheEx1.Message);
+            // Check that old cache instance still works.
+            Assert.AreEqual(2, cache.Get(1));
         }
 
         /// <summary>

Reply via email to