Skip to content

Conversation

cheenamalhotra
Copy link
Member

@cheenamalhotra cheenamalhotra commented Apr 10, 2025

This will wrap null socket error in SqlException to prevent exception occurring in the finally block.

  • Also, using Timeout.Infinite (-1) now that is equivalent to 0 as timeout value.

@cheenamalhotra cheenamalhotra requested a review from a team April 10, 2025 20:43
@cheenamalhotra cheenamalhotra added this to the 6.1-preview1 milestone Apr 10, 2025
Copy link
Contributor

@paulmedynski paulmedynski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some documentation fixes.

@paulmedynski paulmedynski self-assigned this Apr 11, 2025
Copy link

codecov bot commented Apr 11, 2025

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.98%. Comparing base (61e2317) to head (1f8b3e7).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...e/src/Microsoft/Data/SqlClient/SNI/SNITcpHandle.cs 60.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3270      +/-   ##
==========================================
+ Coverage   72.81%   72.98%   +0.17%     
==========================================
  Files         297      296       -1     
  Lines       59661    57257    -2404     
==========================================
- Hits        43440    41791    -1649     
+ Misses      16221    15466     -755     
Flag Coverage Δ
addons 92.58% <ø> (ø)
netcore 75.23% <60.00%> (+0.04%) ⬆️
netfx 71.43% <ø> (-0.06%) ⬇️

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.

@cheenamalhotra cheenamalhotra merged commit f9d45b3 into main Apr 11, 2025
251 checks passed
@cheenamalhotra cheenamalhotra deleted the dev/cheena/null-socket-check branch April 11, 2025 16:41
paulmedynski added a commit that referenced this pull request Apr 19, 2025
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
paulmedynski added a commit that referenced this pull request Apr 19, 2025
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
paulmedynski added a commit that referenced this pull request Apr 22, 2025
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
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.

3 participants