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/ignite-4587 Commit: 5233c60e342c89d282c00fd8f36c40ceb95d1690 Parents: 42b1580 Author: Alexey Goncharuk <[email protected]> Authored: Fri Apr 14 12:36:00 2017 +0300 Committer: Alexey Goncharuk <[email protected]> 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)); }
