From 2119ac9a9406ee91f8bac029007cdeb851af55d7 Mon Sep 17 00:00:00 2001 From: Milos Kotlar Date: Fri, 17 Apr 2026 11:14:00 +0200 Subject: [PATCH] [ios-clr] Disable tests failing on Apple mobile CoreCLR Add ActiveIssue attributes for three tests that fail on Apple mobile CoreCLR pending investigation of the underlying issues (124079, 124344). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../tests/FunctionalTests/GetHostAddressesTest.cs | 1 + .../tests/src/Tests/CustomAttributes/DllImportTests.cs | 1 + .../System.Security.Cryptography/tests/IncrementalHashTests.cs | 2 ++ 3 files changed, 4 insertions(+) diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostAddressesTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostAddressesTest.cs index 3273ebc49cffc7..61b70f2a7a395a 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostAddressesTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostAddressesTest.cs @@ -132,6 +132,7 @@ public async Task DnsGetHostAddresses_IPStringAndIncorrectFamily_ReturnsNoIPs(bo }; [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public void DnsGetHostAddresses_LocalHost_ReturnsSameAsGetHostEntry() { IPAddress[] addresses = Dns.GetHostAddresses(TestSettings.LocalHost); diff --git a/src/libraries/System.Reflection.MetadataLoadContext/tests/src/Tests/CustomAttributes/DllImportTests.cs b/src/libraries/System.Reflection.MetadataLoadContext/tests/src/Tests/CustomAttributes/DllImportTests.cs index b157e3ac5f1552..5888dd0b05c1ae 100644 --- a/src/libraries/System.Reflection.MetadataLoadContext/tests/src/Tests/CustomAttributes/DllImportTests.cs +++ b/src/libraries/System.Reflection.MetadataLoadContext/tests/src/Tests/CustomAttributes/DllImportTests.cs @@ -14,6 +14,7 @@ namespace System.Reflection.Tests public static partial class CustomAttributeTests { [ActiveIssue("https://github.com/mono/mono/issues/15340", TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124344", typeof(PlatformDetection), nameof(PlatformDetection.IsAppleMobile), nameof(PlatformDetection.IsCoreCLR))] [Fact] public static void TestDllImportPseudoCustomAttribute() { diff --git a/src/libraries/System.Security.Cryptography/tests/IncrementalHashTests.cs b/src/libraries/System.Security.Cryptography/tests/IncrementalHashTests.cs index b70cc5c913fae8..0d4ca408038ec7 100644 --- a/src/libraries/System.Security.Cryptography/tests/IncrementalHashTests.cs +++ b/src/libraries/System.Security.Cryptography/tests/IncrementalHashTests.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Threading; using Microsoft.DotNet.RemoteExecutor; +using Microsoft.DotNet.XUnitExtensions; using Test.Cryptography; using Xunit; @@ -134,6 +135,7 @@ public static void Verify_Clone_HMAC(HMAC referenceAlgorithm, HashAlgorithmName [Theory] [MemberData(nameof(GetHashAlgorithms))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124344", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] public static void Verify_Clone_Hash(HashAlgorithm referenceAlgorithm, HashAlgorithmName hashAlgorithmName) { VerifyCloneResult(referenceAlgorithm, () => IncrementalHash.CreateHash(hashAlgorithmName));