You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by pt...@apache.org on 2016/06/29 14:22:56 UTC
ignite git commit: IGNITE-2563 .NET: enable TestAggregatesAll
Repository: ignite
Updated Branches:
refs/heads/master 94ecfe01c -> a0d373ebb
IGNITE-2563 .NET: enable TestAggregatesAll
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/a0d373eb
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/a0d373eb
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/a0d373eb
Branch: refs/heads/master
Commit: a0d373ebbc001ee3e665899c956c560457d3254f
Parents: 94ecfe0
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Wed Jun 29 17:22:31 2016 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Wed Jun 29 17:22:31 2016 +0300
----------------------------------------------------------------------
.../Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/a0d373eb/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs
index a47f3f0..08a4bdc 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs
@@ -332,14 +332,15 @@ namespace Apache.Ignite.Core.Tests.Cache.Query
/// Tests aggregates with all clause.
/// </summary>
[Test]
- [Ignore("IGNITE-2563")]
public void TestAggregatesAll()
{
var ints = GetPersonCache().AsCacheQueryable().Select(x => x.Key);
- Assert.IsTrue(ints.Where(x => x > -10).All(x => x < PersonCount && x >= 0));
+ // ReSharper disable once ReturnValueOfPureMethodIsNotUsed
+ var ex = Assert.Throws<NotSupportedException>(() => ints.Where(x => x > -10)
+ .All(x => x < PersonCount && x >= 0));
- Assert.IsFalse(ints.All(x => x < PersonCount / 2));
+ Assert.IsTrue(ex.Message.StartsWith("Operator is not supported: All"));
}
/// <summary>