From 695fb1e2a20bbf821c6d133b9596b607ef472789 Mon Sep 17 00:00:00 2001 From: Andy Gocke Date: Tue, 11 Jan 2022 09:45:56 -0800 Subject: [PATCH] Skip flaky DllImport tests on Mac --- .../tests/DllImportGenerator.UnitTests/Compiles.cs | 1 + .../tests/DllImportGenerator.UnitTests/Diagnostics.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Compiles.cs b/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Compiles.cs index 0572d1dd20761..3e4dd7a889862 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Compiles.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Compiles.cs @@ -343,6 +343,7 @@ public static IEnumerable CodeSnippetsToValidateFallbackForwarder() } [ConditionalTheory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/63635", TestPlatforms.OSX)] [MemberData(nameof(CodeSnippetsToValidateFallbackForwarder))] public async Task ValidateSnippetsFallbackForwarder(string source, TestTargetFramework targetFramework, bool expectFallbackForwarder) { diff --git a/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Diagnostics.cs b/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Diagnostics.cs index 135bfe5224198..78cc443f9d605 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Diagnostics.cs +++ b/src/libraries/System.Runtime.InteropServices/tests/DllImportGenerator.UnitTests/Diagnostics.cs @@ -17,6 +17,7 @@ namespace DllImportGenerator.UnitTests public class Diagnostics { [ConditionalTheory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/63635", TestPlatforms.OSX)] [InlineData(TestTargetFramework.Framework)] [InlineData(TestTargetFramework.Core)] [InlineData(TestTargetFramework.Standard)] @@ -43,6 +44,7 @@ partial class Test } [ConditionalTheory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/63635", TestPlatforms.OSX)] [InlineData(TestTargetFramework.Framework)] [InlineData(TestTargetFramework.Core)] [InlineData(TestTargetFramework.Standard)]