From 8a3bffa111ca55f7d64a4ec235d456c1e1c8ff2c Mon Sep 17 00:00:00 2001 From: Matous Kozak Date: Thu, 5 Mar 2026 11:44:07 +0000 Subject: [PATCH 1/2] skip LargeUriAndHeaders_Works on android emulators --- .../Common/tests/System/Net/Http/HttpClientHandlerTest.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs index 4f944461278d6e..93a2a3db4137fb 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs @@ -2332,6 +2332,11 @@ public enum HeaderType [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBrowser))] public async Task LargeUriAndHeaders_Works() { + if (PlatformDetection.IsAndroid && (PlatformDetection.IsX86Process || PlatformDetection.IsX64Process)) + { + throw new SkipTestException("Test times out on Android emulators due to large (30MB) payload and 72s loopback server timeout"); + } + int length = IsWinHttpHandler ? 65_000 : 10_000_000; string longPath = "/" + new string('X', length); From 169c7de14941775cbb725c60635115072df908a9 Mon Sep 17 00:00:00 2001 From: Matous Kozak Date: Thu, 5 Mar 2026 19:28:50 +0000 Subject: [PATCH 2/2] re-enable Net.Http functional tests --- .../System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libraries/System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs index f648bf1a0ac67e..8a8ad46f70f81a 100644 --- a/src/libraries/System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs +++ b/src/libraries/System.Net.Http/tests/FunctionalTests/AssemblyInfo.cs @@ -6,4 +6,3 @@ [assembly: SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", ~RuntimeConfiguration.Release)] [assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/131", ~(TestPlatforms.Android | TestPlatforms.Browser | TestPlatforms.Wasi), TargetFrameworkMonikers.Any, TestRuntimes.Mono)] // System.Net.Tests are flaky and/or long running -[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/124526", TestPlatforms.Android, TargetFrameworkMonikers.Any, TestRuntimes.CoreCLR)]