-
Notifications
You must be signed in to change notification settings - Fork 786
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
added a test for Histogram Update
and TakeSnapshot
methods
#4340
added a test for Histogram Update
and TakeSnapshot
methods
#4340
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #4340 +/- ##
==========================================
+ Coverage 84.73% 84.75% +0.01%
==========================================
Files 300 300
Lines 12010 12010
==========================================
+ Hits 10177 10179 +2
+ Misses 1833 1831 -2 |
@@ -188,6 +188,40 @@ public void HistogramWithOnlySumCount() | |||
Assert.False(enumerator.MoveNext()); | |||
} | |||
|
|||
[Fact] | |||
public void MultiThreadedHistogramUpdateAndSnapShotTest() |
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.
https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/test/OpenTelemetry.Tests/Metrics/MetricAPITest.cs#L1629 What about the existing tests?
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.
LGTM as an exploration of using Coyote.
…g/opentelemetry-dotnet into yunl/updateSnapshotTest3
Changes
Related to #3534
Please provide a brief description of the changes here.
Merge requirement checklist
CHANGELOG.md
files updated for non-trivial changes