Skip to content

Fix test failure warnings #4266

Fix test failure warnings

Fix test failure warnings #4266

Triggered via pull request January 23, 2025 10:03
Status Failure
Total duration 1m 20s
Artifacts

osx.yml

on: pull_request
Matrix: build_osx
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 15 warnings
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L714
Type 'ConnectionAbortedTokenUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L696
Type 'CustomUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L719
Type 'ItemsUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L704
Type 'NullUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L709
Type 'ConnectionIdUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L677
Type 'TestCustomRouter' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L724
Type 'ProtocolUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (6.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L714
Type 'ConnectionAbortedTokenUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L696
Type 'CustomUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L714
Type 'ConnectionAbortedTokenUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L704
Type 'NullUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L677
Type 'TestCustomRouter' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L709
Type 'ConnectionIdUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L724
Type 'ProtocolUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L719
Type 'ItemsUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (9.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L696
Type 'CustomUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L709
Type 'ConnectionIdUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L696
Type 'CustomUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L719
Type 'ItemsUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L714
Type 'ConnectionAbortedTokenUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L704
Type 'NullUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L677
Type 'TestCustomRouter' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L724
Type 'ProtocolUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L535
The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'NegotiateHandlerFacts.TestNegotiateHandlerResponseContainsValidMaxPollInterval(int)' with a call to 'int.ToString(IFormatProvider)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1305)
build_osx (8.0.x): test/Microsoft.Azure.SignalR.Tests/NegotiateHandlerFacts.cs#L709
Type 'ConnectionIdUserIdProvider' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build_osx (6.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (6.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (6.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (6.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (6.0.x)
No files were found with the provided path: TestResults-ubuntu-6.0.x. No artifacts will be uploaded.
build_osx (9.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (9.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (9.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (9.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (9.0.x)
No files were found with the provided path: TestResults-ubuntu-9.0.x. No artifacts will be uploaded.
build_osx (8.0.x)
No files were found with the provided path: TestResults-ubuntu-8.0.x. No artifacts will be uploaded.
build_osx (8.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (8.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (8.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build_osx (8.0.x)
The target framework 'net7.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.