Skip to content
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

Merged
merged 13 commits into from
Apr 14, 2023

Conversation

Yun-Ting
Copy link
Contributor

Changes

Related to #3534

Please provide a brief description of the changes here.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (nullable enabled, static analysis, etc.)
  • Unit tests added/updated
  • Appropriate CHANGELOG.md files updated for non-trivial changes
  • Changes in public API reviewed (if applicable)

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #4340 (31329d4) into main (7958763) will increase coverage by 0.01%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            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     

see 6 files with indirect coverage changes

@Yun-Ting Yun-Ting marked this pull request as ready for review March 28, 2023 23:16
@Yun-Ting Yun-Ting requested a review from a team March 28, 2023 23:16
@@ -188,6 +188,40 @@ public void HistogramWithOnlySumCount()
Assert.False(enumerator.MoveNext());
}

[Fact]
public void MultiThreadedHistogramUpdateAndSnapShotTest()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@reyang reyang left a 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.

@utpilla utpilla merged commit 30b7b79 into open-telemetry:main Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants