Don't fail shutdown-does-not-crash test if merely ungraceful (#8896)

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2101
This commit is contained in:
Stephen Halter 2019-04-11 20:29:38 -07:00 committed by Andrew Stanton-Nurse
parent 7acf98a16c
commit 22f0e9b412
1 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,8 @@ namespace Microsoft.AspNetCore.Server.Kestrel.InMemory.FunctionalTests
var serviceContext = new TestServiceContext(LoggerFactory);
TestApplicationErrorLogger.ThrowOnUngracefulShutdown = false;
var stopTask = Task.CompletedTask;
using (var server = new TestServer(TestApp.EchoApp, serviceContext, listenOptions))
{