From 3203ee2cf51073274d5153d3cb519df3b5d8eb5a Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Thu, 6 Feb 2020 12:48:32 -0800 Subject: [PATCH] Disable crypto tests affected by libssl in OSX (#31879) --- .../System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs | 1 + .../System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs | 1 + .../System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs | 8 ++++++++ .../tests/System.Security.Cryptography.OpenSsl.Tests.csproj | 1 + 4 files changed, 11 insertions(+) create mode 100644 src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs b/src/libraries/System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs index db15801..bb42895 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs +++ b/src/libraries/System.Security.Cryptography.Algorithms/tests/AesCcmTests.cs @@ -9,6 +9,7 @@ using Xunit; namespace System.Security.Cryptography.Algorithms.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)] public class AesCcmTests : AesAEADTests { [Theory] diff --git a/src/libraries/System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs b/src/libraries/System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs index 7557600..1114764 100644 --- a/src/libraries/System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs +++ b/src/libraries/System.Security.Cryptography.Algorithms/tests/AesGcmTests.cs @@ -9,6 +9,7 @@ using Xunit; namespace System.Security.Cryptography.Algorithms.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)] public class AesGcmTests : AesAEADTests { [Theory] diff --git a/src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs b/src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs new file mode 100644 index 0000000..015a299 --- /dev/null +++ b/src/libraries/System.Security.Cryptography.OpenSsl/tests/AssemblyInfo.cs @@ -0,0 +1,8 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: SkipOnCoreClr("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)] +[assembly: SkipOnMono("https://github.com/dotnet/runtime/issues/2176", TestPlatforms.OSX)] \ No newline at end of file diff --git a/src/libraries/System.Security.Cryptography.OpenSsl/tests/System.Security.Cryptography.OpenSsl.Tests.csproj b/src/libraries/System.Security.Cryptography.OpenSsl/tests/System.Security.Cryptography.OpenSsl.Tests.csproj index 7a4b8af..3d988df 100644 --- a/src/libraries/System.Security.Cryptography.OpenSsl/tests/System.Security.Cryptography.OpenSsl.Tests.csproj +++ b/src/libraries/System.Security.Cryptography.OpenSsl/tests/System.Security.Cryptography.OpenSsl.Tests.csproj @@ -4,6 +4,7 @@ $(NetCoreAppCurrent)-Unix + -- 2.7.4