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

Commit 472c3d9

Browse files
geoffkizerstephentoub
authored andcommitted
fix stress response generation, and disable failing test (#27059)
1 parent 241ea53 commit 472c3d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
namespace System.Net.Http.Functional.Tests
1414
{
15-
using Configuration = System.Net.Test.Common.Configuration;
16-
1715
public class HttpClientMiniStress : HttpClientTestBase
1816
{
1917
[ConditionalTheory(typeof(TestEnvironment), nameof(TestEnvironment.IsStressModeEnabled))]
@@ -186,6 +184,7 @@ await LoopbackServer.AcceptSocketAsync(server, async (s, stream, reader, writer)
186184
});
187185
}
188186

187+
[ActiveIssue(27058)]
189188
[ConditionalFact(typeof(TestEnvironment), nameof(TestEnvironment.IsStressModeEnabled))]
190189
public async Task UnreadResponseMessage_Collectible()
191190
{
@@ -222,7 +221,7 @@ private static string CreateResponse(string asciiBody) =>
222221
"Content-Type: text/plain\r\n" +
223222
$"Content-Length: {asciiBody.Length}\r\n" +
224223
"\r\n" +
225-
$"{asciiBody}\r\n";
224+
$"{asciiBody}";
226225

227226
private static Task ForCountAsync(int count, int dop, Func<int, Task> bodyAsync)
228227
{

0 commit comments

Comments
 (0)