You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/12/22 11:11:17 UTC

[08/13] ignite git commit: IGNITE-369 .NET: Fix API parity tests with link to IGNITE-7276

IGNITE-369 .NET: Fix API parity tests with link to IGNITE-7276


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

Branch: refs/heads/ignite-zk
Commit: 02e84d088d034e7a262dbb676d26a867248c8176
Parents: 35622cb
Author: Pavel Tupitsyn <pt...@apache.org>
Authored: Thu Dec 21 13:00:15 2017 +0300
Committer: Pavel Tupitsyn <pt...@apache.org>
Committed: Thu Dec 21 13:00:15 2017 +0300

----------------------------------------------------------------------
 .../Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs |  1 +
 .../ApiParity/ClusterParityTest.cs                        | 10 ++++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/02e84d08/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs
index 7b568bd..68b822c 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/CacheParityTest.cs
@@ -58,6 +58,7 @@ namespace Apache.Ignite.Core.Tests.ApiParity
             "sizeLong",  // 	IGNITE-6563
             "sizeLongAsync",  // IGNITE-6563
             "localSizeLong",  // IGNITE-6563
+            "enableStatistics"  // IGNITE-7276
         };
 
         /// <summary>

http://git-wip-us.apache.org/repos/asf/ignite/blob/02e84d08/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterParityTest.cs
----------------------------------------------------------------------
diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterParityTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterParityTest.cs
index 59a80c3..b940d09 100644
--- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterParityTest.cs
+++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/ClusterParityTest.cs
@@ -34,7 +34,13 @@
             "stopNodes",
             "restartNodes"
         };
-        
+
+        /** Members that are missing on .NET side and should be added in future. */
+        private static readonly string[] MissingMembers =
+        {
+            "enableStatistics"  // IGNITE-7276
+        };
+
         /// <summary>
         /// Tests the API parity.
         /// </summary>
@@ -44,7 +50,7 @@
             ParityTest.CheckInterfaceParity(
                 @"modules\core\src\main\java\org\apache\ignite\IgniteCluster.java",
                 typeof(ICluster),
-                UnneededMembers);
+                UnneededMembers, MissingMembers);
         }
     }
 }
\ No newline at end of file