You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/14 15:13:38 UTC
[21/50] [abbrv] ignite git commit: .NET: Fix TestDistributedJoins
.NET: Fix TestDistributedJoins
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/428f66d3
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/428f66d3
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/428f66d3
Branch: refs/heads/ignite-4587
Commit: 428f66d38a661dd3bbbb578e976917daeee7adac
Parents: d7c0b52
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Fri Apr 14 10:17:23 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Fri Apr 14 10:17:23 2017 +0300
----------------------------------------------------------------------
.../dotnet/Apache.Ignite.Core.Tests/Cache/Query/CacheLinqTest.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/428f66d3/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 dfd644d..0b2bb3e 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
@@ -1355,8 +1355,7 @@ namespace Apache.Ignite.Core.Tests.Cache.Query
var res = persons.Join(roles, person => person.Key - PersonCount, role => role.Key, (person, role) => role)
.ToArray();
- Assert.Greater(res.Length, 0);
- Assert.Less(res.Length, RoleCount);
+ Assert.AreEqual(res.Length, RoleCount);
// Test distributed join: returns complete results
persons = personCache.AsCacheQueryable(new QueryOptions {EnableDistributedJoins = true});