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:
parent
7acf98a16c
commit
22f0e9b412
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue