.NET: Suppress DataStorage API parity failures with link to IGNITE-7305
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0e088131 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0e088131 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0e088131 Branch: refs/heads/ignite-zk Commit: 0e0881317b30d0bd66bbaa60a4b89dfdb96fd667 Parents: 6949315 Author: Pavel Tupitsyn <[email protected]> Authored: Tue Dec 26 10:18:10 2017 +0300 Committer: Pavel Tupitsyn <[email protected]> Committed: Tue Dec 26 10:18:10 2017 +0300 ---------------------------------------------------------------------- .../ApiParity/DataStorageConfigurationParityTest.cs | 9 ++++++++- .../ApiParity/DataStorageMetricsParityTest.cs | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/0e088131/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs index 10cba72..9ccef2b 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageConfigurationParityTest.cs @@ -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 http://git-wip-us.apache.org/repos/asf/ignite/blob/0e088131/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs ---------------------------------------------------------------------- diff --git a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs index a8fe87d..a182587 100644 --- a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs +++ b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/ApiParity/DataStorageMetricsParityTest.cs @@ -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
