Skip to content

Conversation

MichelZ
Copy link
Contributor

@MichelZ MichelZ commented Dec 5, 2024

AI Blurp

This pull request includes several improvements and refactorings to the SplitPacketTest class and the DataTestUtility class in the Microsoft.Data.SqlClient test suite. The most important changes include adding new utility methods, refactoring existing methods, and enhancing the test class with proper resource disposal.

Improvements and refactorings:

Enhancements to test class:

These changes enhance the code readability, maintainability, and ensure that resources are properly managed during the tests.

Human stuff

This removes the ActiveIssue 5538 from the SplitPacketTest
It makes sure that the test is only run on localhost and without named instances due to the fact that the tests are proxying the requests.

Also added IDisposable cleanup so that the started threads don't hang around.

@MichelZ
Copy link
Contributor Author

MichelZ commented Dec 5, 2024

/azp run

Copy link

Commenter does not have sufficient privileges for PR 3061 in repo dotnet/SqlClient

@paulmedynski paulmedynski requested a review from a team March 18, 2025 14:36
@paulmedynski
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulmedynski paulmedynski self-assigned this Mar 21, 2025
@paulmedynski paulmedynski added this to the 6.1-preview1 milestone Apr 2, 2025
@mdaigle mdaigle self-assigned this Apr 2, 2025
@benrr101
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.12%. Comparing base (bb4c3b7) to head (54ee201).
Report is 98 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (bb4c3b7) and HEAD (54ee201). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (bb4c3b7) HEAD (54ee201)
addons 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3061      +/-   ##
==========================================
- Coverage   72.68%   66.12%   -6.57%     
==========================================
  Files         283      292       +9     
  Lines       58975    56691    -2284     
==========================================
- Hits        42864    37485    -5379     
- Misses      16111    19206    +3095     
Flag Coverage Δ
addons ?
netcore 69.01% <ø> (-6.47%) ⬇️
netfx 65.12% <ø> (-6.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants