From 5fbed1f4e48b9666a983d23ce22c5d51bebede7d Mon Sep 17 00:00:00 2001 From: Ilya Kasnacheev Date: Tue, 17 Apr 2018 18:09:20 +0300 Subject: [PATCH] IGNITE-2766 Fix .net test. --- .../dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ReconnectTest.cs index 7e6222f026f6c..274439e4e3be6 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 @@ public void TestClusterRestart() cache1[1] = 2; Assert.AreEqual(2, cache1[1]); - // Check that old cache instance does not work. - var cacheEx1 = Assert.Throws(() => 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)); } ///