diff --git a/test/Microsoft.AspNetCore.Server.KestrelTests/EngineTests.cs b/test/Microsoft.AspNetCore.Server.KestrelTests/EngineTests.cs index 270a93d998..413a3c64f2 100644 --- a/test/Microsoft.AspNetCore.Server.KestrelTests/EngineTests.cs +++ b/test/Microsoft.AspNetCore.Server.KestrelTests/EngineTests.cs @@ -1079,7 +1079,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests "Content-Length: 1", "", ""); - await connection.ReceiveEnd(); + await connection.ReceiveForcedEnd(); } } }