Skip to content
代码片段 群组 项目
提交 22f0e9b4 编辑于 作者: Stephen Halter's avatar Stephen Halter 提交者: Andrew Stanton-Nurse
浏览文件

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

上级 7acf98a1
No related branches found
No related tags found
无相关合并请求
......@@ -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))
{
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册