Listen to Microsoft.Data.Sqlclient 2.0+ events as well as those from …#2034
Listen to Microsoft.Data.Sqlclient 2.0+ events as well as those from …#2034TimothyMothra merged 8 commits intomicrosoft:developfrom
Conversation
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/AzurePipelines run |
|
Commenter does not have sufficient privileges for PR 2034 in repo microsoft/ApplicationInsights-dotnet |
|
Hi, what's the blocker on getting this PR in and issue #2032 fixed? |
|
I (as the author of the code in this PR) did not add any tests to actually validate that this fixes the issue. That would involve creating a new test project that is compatible with the requirements of MDS or upgrading the current project to Net Fwk 4.6. While I could figure out what was wrong and add a fix that compiles, doing the test thing would be going deeper into the rabbit hole than I can do right now. So I left the PR as a draft (so non-merge:able) here hoping that would at least help someone else fix the issue faster. |
|
Sorry for the delay - Will review this and include this in 2.17 release, as 2.16 is a light release with only major change is just the version bump of DiagnosticSource nuget version. |
|
We should be able to merge this as-is. And as a follow up add actual tests for validation. |
|
OK, I have changed it from draft to Open/Ready for review. |
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
…System.Data(.SqlClient).
Fix Issue #2032 .
Changes
Se title.
Checklist
No, the dependencies of Mds (net46) would require creating an entirely new test project for this and I am not comfortable enough with this codebase to do that.
Sidenote, why is there SqlClientDiagnosticSourceListenerTests.cs and SqlClientDiagnosticSourceListenerTestsCopy.cs?
No, that would be a bit premature...
For significant contributions please make sure you have completed the following items:
The PR will trigger build, unit tests, and functional tests automatically. Please follow these instructions to build and test locally.
Notes for authors:
Notes for reviewers:
/AzurePipelines runwill queue all builds/AzurePipelines run <pipeline-name>will queue a specific build