Skip to content

Commit 04a8fc6

Browse files
committed
Clean up
1 parent 3b5554d commit 04a8fc6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Servers/Kestrel/test/Interop.FunctionalTests/Http2/Http2RequestTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,17 @@ public async Task GET_RequestReturnsLargeData_GracefulShutdownDuringRequest_Requ
239239
async c =>
240240
{
241241
await syncPoint.WaitToContinue();
242+
242243
var memory = c.Response.BodyWriter.GetMemory(randomBytes.Length);
244+
243245
logger.LogInformation($"Server writing {randomBytes.Length} bytes response");
244246
randomBytes.CopyTo(memory);
247+
245248
// It's important for this test that the large write is the last data written to
246249
// the response and it's not awaited by the request delegate.
247250
logger.LogInformation($"Server advancing {randomBytes.Length} bytes response");
248251
c.Response.BodyWriter.Advance(randomBytes.Length);
252+
249253
if (hasTrailers)
250254
{
251255
c.Response.AppendTrailer("test-trailer", "value!");

0 commit comments

Comments
 (0)