Skip to content

Tests | Activate SplitPacket Tests #3061

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

Merged
merged 4 commits into from
Apr 24, 2025

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.

@mdaigle mdaigle merged commit f2a8cd2 into dotnet:main Apr 24, 2025
136 checks passed
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy