From 7811762a1510ab1bf645f2bcc5a4458590d4d747 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 7 Aug 2026 07:26:17 +0000 Subject: [PATCH] Disable timing out EncryptedXml encoded-DTD tests (#131955) Encoded-DTD transform-chain tests continue to time out after reducing their workload. ## Changes - Disable the exact-limit and unlimited-chain cases under the active issue. - Retain default-limit rejection coverage. - Fixes #131638 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> --- .../System.Security.Cryptography.Xml/tests/EncryptedXmlTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Security.Cryptography.Xml/tests/EncryptedXmlTests.cs b/src/libraries/System.Security.Cryptography.Xml/tests/EncryptedXmlTests.cs index 458a8cf6d5b26a..a3477a371b2941 100644 --- a/src/libraries/System.Security.Cryptography.Xml/tests/EncryptedXmlTests.cs +++ b/src/libraries/System.Security.Cryptography.Xml/tests/EncryptedXmlTests.cs @@ -299,6 +299,7 @@ public static IEnumerable EncodedDtdTransformChainLimits() yield return new object[] { requiredTransformCount, false }; } + [ActiveIssue("https://github.com/dotnet/runtime/issues/131638")] [ConditionalTheory(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] [MemberData(nameof(EncodedDtdTransformChainLimits))] public static void EncryptedXml_DecryptedEncodedDtd_WithExactTransformChainLimit(int maxTransformsPerChain, bool expectTransformLimit) @@ -321,6 +322,7 @@ public static void EncryptedXml_DecryptedEncodedDtd_WithExactTransformChainLimit }, maxTransformsPerChain.ToString(CultureInfo.InvariantCulture), expectTransformLimit.ToString()).Dispose(); } + [ActiveIssue("https://github.com/dotnet/runtime/issues/131638")] [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] public static void EncryptedXml_DecryptedEncodedDtd_WithUnlimitedTransformChain() {