From 7b65a32b8b8d28bc1addfdc615c9fb00a0cd6457 Mon Sep 17 00:00:00 2001 From: Brennan Date: Fri, 19 Jul 2019 12:33:38 -0700 Subject: [PATCH] Fix flaky test (#12365) --- .../Http.Connections/test/HttpConnectionDispatcherTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs b/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs index 2550a29632..90fee0efac 100644 --- a/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs +++ b/src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs @@ -1772,12 +1772,11 @@ namespace Microsoft.AspNetCore.Http.Connections.Tests } [Fact] - [Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1975", FlakyOn.All)] public async Task ErrorDuringPollWillCloseConnection() { bool ExpectedErrors(WriteContext writeContext) { - return (writeContext.LoggerName == typeof(LongPollingServerTransport).FullName && + return (writeContext.LoggerName.Equals("Microsoft.AspNetCore.Http.Connections.Internal.Transports.LongPollingTransport") && writeContext.EventId.Name == "LongPollingTerminated") || (writeContext.LoggerName == typeof(HttpConnectionManager).FullName && writeContext.EventId.Name == "FailedDispose");