Update Http2_FlowControl_ClientDoesNotExceedWindows to use ByteAtATimeContent for...
authorCory Nelson <phrosty@gmail.com>
Mon, 15 Jul 2019 04:19:34 +0000 (21:19 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Jul 2019 04:19:34 +0000 (21:19 -0700)
Clear ActiveIssue as original issue in dotnet/corefx#38799 could not be reproduced.

Commit migrated from https://github.com/dotnet/corefx/commit/929bd81ee11728434ebf9c06152408b4b9940d12

src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http2.cs

index 40f2fef..77169cf 100644 (file)
@@ -1163,7 +1163,6 @@ namespace System.Net.Http.Functional.Tests
             return bytesReceived;
         }
 
-        [ActiveIssue(38799)]
         [OuterLoop("Uses Task.Delay")]
         [ConditionalFact(nameof(SupportsAlpn))]
         public async Task Http2_FlowControl_ClientDoesNotExceedWindows()
@@ -1171,7 +1170,7 @@ namespace System.Net.Http.Functional.Tests
             const int InitialWindowSize = 65535;
             const int ContentSize = 100_000;
 
-            var content = new ByteArrayContent(TestHelper.GenerateRandomContent(ContentSize));
+            var content = new ByteAtATimeContent(ContentSize);
 
             using (var server = Http2LoopbackServer.CreateServer())
             using (HttpClient client = CreateHttpClient())