Disable memory pool late return validation in H2SpecTests (#2768)

- We should reenable once HTTP/2 graceful shutdown is implemented
This commit is contained in:
Stephen Halter 2018-07-30 14:33:45 -07:00 committed by Chris Ross (ASP.NET)
parent ec46bc7041
commit f7ce86c8d7
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.FunctionalTests.Http2
[MemberData(nameof(H2SpecTestCases))]
public async Task RunIndividualTestCase(H2SpecTestCase testCase)
{
var hostBuilder = TransportSelector.GetWebHostBuilder()
var memoryPoolFactory = new DiagnosticMemoryPoolFactory(allowLateReturn: true);
var hostBuilder = TransportSelector.GetWebHostBuilder(memoryPoolFactory.Create)
.UseKestrel(options =>
{
options.Listen(IPAddress.Loopback, 0, listenOptions =>