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 09:35:28 UTC

ignite git commit: IGNITE-3477 - Fixed affinity function test

Repository: ignite
Updated Branches:
  refs/heads/master 42b158077 -> 5233c60e3


IGNITE-3477 - Fixed affinity function test


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

Branch: refs/heads/master
Commit: 5233c60e342c89d282c00fd8f36c40ceb95d1690
Parents: 42b1580
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Fri Apr 14 12:36:00 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Fri Apr 14 12:36:00 2017 +0300

----------------------------------------------------------------------
 .../Cache/Affinity/AffinityFunctionTest.cs                         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5233c60e/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityFunctionTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityFunctionTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityFunctionTest.cs
index 91ff7e0..a5f07ca 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityFunctionTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Cache/Affinity/AffinityFunctionTest.cs
@@ -287,7 +287,7 @@ namespace Apache.Ignite.Core.Tests.Cache.Affinity
             var aff = _ignite.GetAffinity(cache.Name);
 
             Assert.AreEqual(PartitionCount, aff.Partitions);
-            Assert.AreEqual(6, aff.GetPartition(33));
+            Assert.AreEqual(3, aff.GetPartition(33));
             Assert.AreEqual(4, aff.GetPartition(34));
         }