-
Notifications
You must be signed in to change notification settings - Fork 772
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
[sdk-logs] Tests and bug fixes for logging builder & provider #4467
[sdk-logs] Tests and bug fixes for logging builder & provider #4467
Conversation
using var provider = Sdk.CreateLoggerProviderBuilder() | ||
.ConfigureServices(services => | ||
{ | ||
if (callNestedConfigure) |
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.
Do we not want to assert something specific based on callNestedConfigure
?
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.
I wrote that test so long ago I can't remember, TBH. I added an assert in the logging one and its cousins in tracing & metrics. I figured it couldn't hurt 😄
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4467 +/- ##
==========================================
+ Coverage 83.32% 85.01% +1.68%
==========================================
Files 314 314
Lines 12522 12524 +2
==========================================
+ Hits 10434 10647 +213
+ Misses 2088 1877 -211
|
Relates to #4433
Changes
Merge requirement checklist