.NET: Suppress DataStorage API parity failures with link to IGNITE-7305
authorPavel Tupitsyn <ptupitsyn@apache.org>
Tue, 26 Dec 2017 07:18:10 +0000 (10:18 +0300)
committerPavel Tupitsyn <ptupitsyn@apache.org>
Tue, 26 Dec 2017 07:18:10 +0000 (10:18 +0300)
modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs
modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs

index 10cba72..9ccef2b 100644 (file)
@@ -31,6 +31,13 @@ namespace Apache.Ignite.Core.Tests.ApiParity
             "FileIOFactory"
         };
 
+        /** Properties that are missing on .NET side. */
+        private static readonly string[] MissingProperties =
+        {
+            // IGNITE-7305
+            "WalBufferSize"
+        };
+
         /// <summary>
         /// Tests the ignite configuration parity.
         /// </summary>
@@ -40,7 +47,7 @@ namespace Apache.Ignite.Core.Tests.ApiParity
             ParityTest.CheckConfigurationParity(
                 @"modules\core\src\main\java\org\apache\ignite\configuration\DataStorageConfiguration.java", 
                 typeof(DataStorageConfiguration),
-                UnneededProperties);
+                UnneededProperties, MissingProperties);
         }
     }
 }
\ No newline at end of file
index a8fe87d..a182587 100644 (file)
@@ -24,6 +24,13 @@ namespace Apache.Ignite.Core.Tests.ApiParity
     /// </summary>
     public class DataStorageMetricsParityTest
     {
+        /** Properties that are missing on .NET side. */
+        private static readonly string[] MissingProperties =
+        {
+            // IGNITE-7305
+            "WalBuffPollSpinsRate"
+        };
+
         /// <summary>
         /// Tests the API parity.
         /// </summary>
@@ -32,7 +39,7 @@ namespace Apache.Ignite.Core.Tests.ApiParity
         {
             ParityTest.CheckInterfaceParity(
                 @"modules\core\src\main\java\org\apache\ignite\DataStorageMetrics.java",
-                typeof(IDataStorageMetrics));
+                typeof(IDataStorageMetrics), knownMissingMembers: MissingProperties);
         }
     }
 }
\ No newline at end of file