You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/04/17 16:51:04 UTC
ignite git commit: IGNITE-2766 Fix .net test. - Fixes #3853.
Repository: ignite
Updated Branches:
refs/heads/master 7b39f1355 -> 96cb795f3
IGNITE-2766 Fix .net test. - Fixes #3853.
Signed-off-by: dpavlov <dp...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/96cb795f
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/96cb795f
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/96cb795f
Branch: refs/heads/master
Commit: 96cb795f3d97af0e3dcb95fa0c81e31257d83431
Parents: 7b39f13
Author: Ilya Kasnacheev <il...@gmail.com>
Authored: Tue Apr 17 19:50:51 2018 +0300
Committer: dpavlov <dp...@apache.org>
Committed: Tue Apr 17 19:50:51 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/96cb795f/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>