Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Cleanup | null != x => x != null #2751

Merged
merged 1 commit into from
Aug 9, 2024

`null != x` => `x != null`

117ed98
Select commit
Loading
Failed to load commit list.
Merged

Code Cleanup | null != x => x != null #2751

`null != x` => `x != null`
117ed98
Select commit
Loading
Failed to load commit list.
Azure Pipelines / CI-SqlClient succeeded Aug 9, 2024 in 41m 46s

Build #21602 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 105,317 (98.27%)
  • Other: 1,850 (1.73%)
  • Total: 107,168
Code coverage

  • 44717 of 62314 line covered (71.76%)

Annotations

Check failure on line 820 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L820

Error: The process '/usr/local/bin/dotnet' failed with exit code 1

Check failure on line 822 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Build log #L822

Dotnet command failed with non-zero exit code on the following projects : [ '/Users/runner/work/1/s/build.proj' ]

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 183 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

build.proj#L183

build.proj(183,5): Error MSB3073: The command "dotnet test "src\Microsoft.Data.SqlClient\tests\FunctionalTests\Microsoft.Data.SqlClient.Tests.csproj" -p:Configuration=Release -p:TargetnetcoreVersion=net6.0 -p:ReferenceType=Project --no-build -v n --collect "Code coverage" -p:TestSet=3 --results-directory TestResults -p:TestTargetOS=Windowsnetcoreapp --filter "category!=nonnetcoreapptests&category!=failing&category!=nonwindowstests" "--logger:trx;LogFilePrefix=Functional-Windowsnetcoreapp-3"" exited with code 1.

Check failure on line 1 in Microsoft.Data.SqlClient.Tests.SqlConnectionBasicTests.TransientFaultTest(errorCode: 42108)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / CI-SqlClient

Microsoft.Data.SqlClient.Tests.SqlConnectionBasicTests.TransientFaultTest(errorCode: 42108)

Assert.Fail(): Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=1; handshake=24; [Login] initialization=0; authentication=5; [Post-Login] complete=14068; 
Raw output
   at Microsoft.Data.SqlClient.Tests.SqlConnectionBasicTests.TransientFaultTest(UInt32 errorCode) in /_/src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs:line 104