diff --git a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs index aa98a2f8f7e592..322474fb38fef7 100644 --- a/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs +++ b/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.cs @@ -2332,7 +2332,9 @@ public enum HeaderType [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotBrowser))] public async Task LargeUriAndHeaders_Works() { - int length = IsWinHttpHandler ? 65_000 : 10_000_000; + int length = IsWinHttpHandler ? 65_000 + : PlatformDetection.IsAndroid ? 100_000 + : 10_000_000; string longPath = "/" + new string('X', length); string longHeaderName = new string('Y', length);