Skip to content

[5.1] Optimization: Use Environment.TickCount for SqlStatistics execution timing - #3831

Merged
paulmedynski merged 7 commits into
release/5.1from
dev/cheena/5.1-port-sqlstatisticsperf
Dec 15, 2025
Merged

paulmedynski merged 7 commits into
release/5.1from
dev/cheena/5.1-port-sqlstatisticsperf

Fix test

896a5a0
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Release 5.1 succeeded Dec 12, 2025 in 1h 50m 31s

Build #133187 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 194,189 (98.19%)
  • Other: 3,578 (1.81%)
  • Total: 197,768
Code coverage

  • 29337 of 39031 lines covered (75.16%)

Annotations

Check failure on line 0 in EXEC

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.1

EXEC#L0

EXEC(0,0): Error Message: 

Check failure on line 185 in build.proj

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.1

build.proj#L185

build.proj(185,5): Error MSB3073: The command "dotnet test "src\Microsoft.Data.SqlClient\tests\ManualTests\Microsoft.Data.SqlClient.ManualTesting.Tests.csproj" -p:Configuration=Release -p:TargetnetcoreVersion=net6.0 --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=Manual-Windowsnetcoreapp-3"" exited with code 1.

Check failure on line 2712 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.1

Build log #L2712

Process 'msbuild.exe' exited with code '1'.

Check failure on line 1 in Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Release 5.1

Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional

Assert.Equal() Failure: Values differ
Expected: 3
Actual:   2
Raw output
   at Microsoft.Data.SqlClient.ManualTesting.Tests.EventCounterTest.EventCounter_ReclaimedConnectionsCounter_Functional() in /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/EventCounterTest.cs:line 171