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

refactor(http-plugin): use SpanProcessor for tests #244

Conversation

OlivierAlbertini
Copy link
Member

Which problem is this PR solving?

Simplify tests
Closes #209

Short description of the changes

  • Remove TracerTest
  • Remove SpanAuditProcessor

Signed-off-by: Olivier Albertini [email protected]

Remove TracerTest
Remove SpanAuditProcessor
Closes open-telemetry#209

Signed-off-by: Olivier Albertini <[email protected]>
@codecov-io
Copy link

codecov-io commented Sep 10, 2019

Codecov Report

Merging #244 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
+ Coverage   98.93%   98.94%   +0.01%     
==========================================
  Files          67       67              
  Lines        2536     2663     +127     
  Branches      154      174      +20     
==========================================
+ Hits         2509     2635     +126     
- Misses         27       28       +1
Impacted Files Coverage Δ
...ckages/opentelemetry-core/src/common/NoopLogger.ts 14.28% <0%> (-5.72%) ⬇️
...ges/opentelemetry-core/src/common/ConsoleLogger.ts 91.66% <0%> (-3.08%) ⬇️
...s/opentelemetry-core/test/context/B3Format.test.ts 100% <0%> (ø) ⬆️
...s/opentelemetry-core/test/trace/tracestate.test.ts 100% <0%> (ø) ⬆️
...entelemetry-core/test/common/ConsoleLogger.test.ts 100% <0%> (ø) ⬆️
...lemetry-core/test/trace/ProbabilitySampler.test.ts 100% <0%> (ø) ⬆️
.../opentelemetry-core/src/trace/spancontext-utils.ts 100% <0%> (ø) ⬆️
...s/opentelemetry-core/test/trace/NoopTracer.test.ts 100% <0%> (ø) ⬆️
...ckages/opentelemetry-core/test/platform/id.test.ts 100% <0%> (ø) ⬆️
...pentelemetry-core/test/internal/validators.test.ts 100% <0%> (ø) ⬆️
... and 10 more

Copy link
Member

@mayurkale22 mayurkale22 left a comment

Choose a reason for hiding this comment

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

Nice!

@mayurkale22
Copy link
Member

I will handle the docs issue in separate PR, merging this now.

@mayurkale22 mayurkale22 merged commit 260a5e6 into open-telemetry:master Sep 11, 2019
@OlivierAlbertini OlivierAlbertini deleted the feature/refactor-http-plugin-tests branch September 11, 2019 19:07
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.

[http-plugin] Refactor tests once exporter available
4 participants