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 assert/require in test code of exporter #286

Merged
merged 1 commit into from
Aug 23, 2019

Conversation

huikang
Copy link
Member

@huikang huikang commented Aug 23, 2019

#266

Signed-off-by: Hui Kang [email protected]

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

Please fix the build.

@huikang huikang force-pushed the use-assert-in-test branch from 4c1e3de to c49b8a0 Compare August 23, 2019 14:16
@codecov-io
Copy link

codecov-io commented Aug 23, 2019

Codecov Report

Merging #286 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #286   +/-   ##
=======================================
  Coverage   73.13%   73.13%           
=======================================
  Files         111      111           
  Lines        6446     6446           
=======================================
  Hits         4714     4714           
  Misses       1488     1488           
  Partials      244      244

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 99ab342...16ee12f. Read the comment docs.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

Thanks @huikang! After the minor changes below it should be good to go.

exporter/exportertest/nop_exporter_test.go Outdated Show resolved Hide resolved
exporter/exportertest/sink_exporter_test.go Outdated Show resolved Hide resolved
exporter/exportertest/sink_exporter_test.go Outdated Show resolved Hide resolved
exporter/exportertest/sink_exporter_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@pjanotti pjanotti left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @huikang

@pjanotti pjanotti merged commit d6094a8 into open-telemetry:master Aug 23, 2019
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* set attributes in tracer.Start()

* add tests

* remove no longer needed attribute additions
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