Fix test failure for aspnet signalr #4392
Annotations
3 errors and 11 warnings
Build with dotnet:
test/Microsoft.Azure.SignalR.AspNet.Tests/ServiceConnectionTests.cs#L175
'TestServiceConnectionHandler' does not contain a constructor that takes 0 arguments
|
Build with dotnet:
test/Microsoft.Azure.SignalR.AspNet.Tests/ServiceConnectionTests.cs#L175
'TestServiceConnectionHandler' does not contain a constructor that takes 0 arguments
|
Build with dotnet
Process completed with exit code 1.
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MockServiceHubDispatcher.cs#L48
Parameter 'IServiceProvider serviceProvider' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L35
Member 'RemoveUnregisteredConnections' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideClientConnection.cs#L32
Member '_invId' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L31
Member 's_clientConnNum' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L33
Member 's_index' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L37
Member '_stopped' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L40
Member '_processIncomingException' is explicitly initialized to its default value (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1805)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/MockServiceSideConnection.cs#L75
Avoid unnecessary zero-length array allocations. Use Array.Empty<Claim>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/MockService/ConnectionTrackingMockService.cs#L70
Use 'StartsWith' instead of comparing the result of 'IndexOf' to 0 (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1858)
|
Build with dotnet:
test/Microsoft.Azure.SignalR.IntegrationTests/Infrastructure/MessageOrderTests/HotReloadMessageOrderTestParams.cs#L27
Avoid unnecessary zero-length array allocations. Use Array.Empty<ServiceEndpoint>() instead. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1825)
|
Upload dotnet test results
No files were found with the provided path: TestResults-ubuntu-6.0.x. No artifacts will be uploaded.
|
Loading