-
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 | LocalDb and managed SNI #2129
Conversation
1fe1b83
to
7622824
Compare
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/LocalDB.Windows.cs
Show resolved
Hide resolved
src/Microsoft.Data.SqlClient/netcore/src/Microsoft/Data/SqlClient/SNI/SNICommon.cs
Show resolved
Hide resolved
if (IsNativeSNI()) | ||
{ | ||
Assert.Contains("The specified LocalDB instance does not exist.", ex.Message); | ||
} |
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.
Additional information comes from the native method call in TdsParser
by LocalDBAPI.GetLocalDBMessage()
.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2129 +/- ##
==========================================
+ Coverage 70.76% 71.00% +0.23%
==========================================
Files 306 305 -1
Lines 62051 61854 -197
==========================================
+ Hits 43910 43918 +8
+ Misses 18141 17936 -205
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Improved error messages and failure scenarios on managed SNI.