You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2015/11/27 10:00:16 UTC
ignite git commit: Improve assert message
Repository: ignite
Updated Branches:
refs/heads/ignite-1956 82d5ccc9a -> 00ab95bc1
Improve assert message
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/00ab95bc
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/00ab95bc
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/00ab95bc
Branch: refs/heads/ignite-1956
Commit: 00ab95bc15f5f5614e3dcbba22452f1622527ac4
Parents: 82d5ccc
Author: Pavel Tupitsyn <pt...@gridgain.com>
Authored: Fri Nov 27 11:58:45 2015 +0300
Committer: Pavel Tupitsyn <pt...@gridgain.com>
Committed: Fri Nov 27 11:58:45 2015 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/00ab95bc/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
index 11bf8f1..ce15739 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/CacheAbstractTest.cs
@@ -354,7 +354,9 @@ namespace Apache.Ignite.Core.Tests.Cache
entries.Aggregate((acc, val) => string.Format("{0}, {1}", acc, val)));
var size = cache.GetSize();
- Assert.AreEqual(0, size, "Cache enumerator returned no entries, but cache size is " + size);
+ Assert.AreEqual(0, size,
+ "Cache enumerator returned no entries, but cache '{0}' size is {1} in grid [{2}]",
+ CacheName(), size, i);
}
Console.WriteLine("Test finished: " + TestContext.CurrentContext.Test.Name);