React to kestrel merge conflict (#12624)

This commit is contained in:
Chris Ross 2019-07-26 11:55:37 -07:00 committed by John Luo
parent a0e0338d7e
commit 922fd9cb0d
1 changed files with 2 additions and 2 deletions

View File

@ -344,7 +344,7 @@ namespace Interop.FunctionalTests
Assert.True(sequence.IsSingleSegment);
await context.Response.BodyWriter.WriteAsync(sequence.First).DefaultTimeout();
reader.AdvanceTo(sequence.End);
await context.Features.Get<IHttpResponseCompletionFeature>().CompleteAsync();
await context.Response.CompleteAsync().DefaultTimeout();
try
{
@ -417,7 +417,7 @@ namespace Interop.FunctionalTests
// var readTask = context.Request.BodyReader.ReadAsync();
context.Response.ContentType = "text/plain";
await context.Response.WriteAsync("Hello World");
await context.Features.Get<IHttpResponseCompletionFeature>().CompleteAsync().DefaultTimeout();
await context.Response.CompleteAsync().DefaultTimeout();
try
{