ignite-commits mailing list archives

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


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

Branch: refs/heads/ignite-5267-1
Commit: 4685e28e5c88eff9603ceffb211c76df8e2091db
Parents: 265a029
Author: Pavel Tupitsyn <ptupitsyn@apache.org>
Authored: Fri Jun 16 10:31:32 2017 +0300
Committer: Pavel Tupitsyn <ptupitsyn@apache.org>
Committed: Fri Jun 16 10:31:32 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/4685e28e/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
index b7d21df..e5afdb1 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/PersistentStoreTest.cs
@@ -83,7 +83,8 @@ namespace Apache.Ignite.Core.Tests.Cache
             else
             {
                 var ex = Assert.Throws<IgniteException>(() => ignite.GetOrCreateCache<int,
int>("default"));
-                Assert.AreEqual("can not perform operation, because cluster inactive", ex.Message);
+                Assert.AreEqual("Can not perform the operation because the cluster is inactive.",
+                    ex.Message.Substring(0, 62));
             }
         }
     }


Mime
View raw message