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

Test concurrent writes to reporter #187

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Conversation

brawndou
Copy link
Collaborator

@brawndou brawndou commented Nov 3, 2022

This gives us unit test coverage for parallel usecases across multiple subscopes.

@brawndou brawndou changed the title add testing for concurrent writes to reporter Test concurrent writes to reporter Nov 3, 2022
@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Merging #187 (e37d460) into master (86b6b09) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #187      +/-   ##
==========================================
+ Coverage   47.31%   47.36%   +0.04%     
==========================================
  Files          64       64              
  Lines        5932     5937       +5     
==========================================
+ Hits         2807     2812       +5     
  Misses       2685     2685              
  Partials      440      440              
Impacted Files Coverage Δ
m3/reporter.go 92.83% <0.00%> (+0.09%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

counterIncrs = 5000
rs = newRootScope(
ScopeOptions{
Prefix: "",

Choose a reason for hiding this comment

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

Nit: just omit empty values; more idiomatic that way.

@brawndou brawndou merged commit 5c8a8bc into uber-go:master Nov 7, 2022
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.

2 participants