Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4a549f7

Browse files
authored
Disable some failing/hanging HTTP tests (#28425)
Opened some issues #28423 #28424. These tests are failing/hanging on my dev box all the time.
1 parent 4c1704f commit 4a549f7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.ResponseDrain.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,12 @@ public async Task GetAsyncLargeRequestWithMaxConnections_DisposeBeforeReadingToE
208208
[InlineData(4000000, 1000000, ContentMode.BytePerChunk)]
209209
public async Task GetAsyncWithMaxConnections_DisposeBeforeReadingToEnd_KillsConnection(int totalSize, int readSize, ContentMode mode)
210210
{
211+
if (IsWinHttpHandler)
212+
{
213+
// [ActiveIssue(28424)]
214+
return;
215+
}
216+
211217
await LoopbackServer.CreateClientAndServerAsync(
212218
async url =>
213219
{

src/System.Net.Http/tests/FunctionalTests/HttpProtocolTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,12 @@ public static IEnumerable<object> GetAsync_Chunked_VaryingSizeChunks_ReceivedCor
546546
[MemberData(nameof(GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly_MemberData))]
547547
public async Task GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(int maxChunkSize, string lineEnding, bool useCopyToAsync)
548548
{
549+
if (IsWinHttpHandler)
550+
{
551+
// [ActiveIssue(28423)]
552+
return;
553+
}
554+
549555
if (!UseSocketsHttpHandler && lineEnding != "\r\n")
550556
{
551557
// Some handlers don't deal well with "\n" alone as the line ending

0 commit comments

Comments
 (0)