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

Use TaskLocals to isolate metrics/tracing tests from each other #679

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

adam-fowler
Copy link
Member

By isolating a tracer or metrics factory for each test we can run them in parallel. This isn't an issue at the moment really, but when we move to Swift Testing it will be so lets just fix it now.

By isolating a tracer, metrics factory for each test we can run them in parallel
@adam-fowler adam-fowler requested a review from Joannis as a code owner February 24, 2025 17:46
Copy link

github-actions bot commented Feb 24, 2025

Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.87%. Comparing base (9c17cd8) to head (572e995).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #679      +/-   ##
==========================================
- Coverage   83.90%   83.87%   -0.03%     
==========================================
  Files         117      117              
  Lines        7444     7444              
==========================================
- Hits         6246     6244       -2     
- Misses       1198     1200       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

Nicely done :)

@adam-fowler adam-fowler enabled auto-merge (squash) February 28, 2025 10:27
@adam-fowler adam-fowler merged commit 2c26918 into main Feb 28, 2025
9 of 10 checks passed
@Joannis Joannis deleted the metrics-tracing-parallel-testing branch February 28, 2025 10:36
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.

3 participants