Skip to content

Commit 7b65a32

Browse files
Fix flaky test (#12365)
1 parent 1950e59 commit 7b65a32

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SignalR/common/Http.Connections/test/HttpConnectionDispatcherTests.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1772,12 +1772,11 @@ public async Task LongPollingCanPollIfWritePipeHasBackpressure()
17721772
}
17731773

17741774
[Fact]
1775-
[Flaky("https://github.com/aspnet/AspNetCore-Internal/issues/1975", FlakyOn.All)]
17761775
public async Task ErrorDuringPollWillCloseConnection()
17771776
{
17781777
bool ExpectedErrors(WriteContext writeContext)
17791778
{
1780-
return (writeContext.LoggerName == typeof(LongPollingServerTransport).FullName &&
1779+
return (writeContext.LoggerName.Equals("Microsoft.AspNetCore.Http.Connections.Internal.Transports.LongPollingTransport") &&
17811780
writeContext.EventId.Name == "LongPollingTerminated") ||
17821781
(writeContext.LoggerName == typeof(HttpConnectionManager).FullName &&
17831782
writeContext.EventId.Name == "FailedDispose");

0 commit comments

Comments
 (0)