-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix | Take out the ignoreSniOpenTimeout in open connection #2067
Fix | Take out the ignoreSniOpenTimeout in open connection #2067
Conversation
…t string Encrypt option into SqlConnectionEncryptionOption type.
… than not work?
…o convert string Encrypt option into SqlConnectionEncryptionOption type." This reverts commit 5c505a1.
…o convert string Encrypt option into SqlConnectionEncryptionOption type." This reverts commit 5c505a1.
… 15 less than not work?" This reverts commit cde0430.
Added Unit Test to prove that the ignore timeout has been removed.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2067 +/- ##
==========================================
+ Coverage 70.01% 70.67% +0.65%
==========================================
Files 306 306
Lines 61962 61975 +13
==========================================
+ Hits 43383 43800 +417
+ Misses 18579 18175 -404
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
The original comment around this area of code is:
It's not clear why anyone would want to ignore the specified timeout just from this comment. I would think users would want the ability to have a responsive timeout, so I'm inclined to be okay with "fixing" this issue. |
…out_-less_than_15_not_working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why you kept 'ignoreSniOpenTimeout' in netfx if you're not going to remove them?
src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
Outdated
Show resolved
Hide resolved
…otnet#2067)" This reverts commit 7314307. # Conflicts: # src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs
…ction (dotnet#2067)"" This reverts commit 02ffcb1.
This PR fixes #1126. The ignoreSniOpenTimeout was removed from all function calls in opening a connection as suggested.