Skip to content

[Android] Reenable SocketsHttpHandlerTest.LargeHeaders_TrickledOverTime_ProcessedEfficiently on 64-bit Android #117710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1702,11 +1702,16 @@ from lineFolds in BoolValues

private delegate int StreamReadSpanDelegate(Span<byte> buffer);

[Theory]
[ConditionalTheory]
[MemberData(nameof(TripleBoolValues))]
[ActiveIssue("https://github.com/dotnet/runtime/issues/77474", TestPlatforms.Android)]
public async Task LargeHeaders_TrickledOverTime_ProcessedEfficiently(bool trailingHeaders, bool async, bool lineFolds)
{
if (PlatformDetection.IsAndroid && PlatformDetection.Is32BitProcess)
{
// https://github.com/dotnet/runtime/issues/77474
throw new SkipTestException("This test runs out of memory on 32-bit Android devices");
}

Memory<byte> responsePrefix = Encoding.ASCII.GetBytes(trailingHeaders
? "HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n0\r\nLong-Header: "
: "HTTP/1.1 200 OK\r\nContent-Length: 0\r\nLong-Header: ");
Expand Down
Loading