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");