-
Notifications
You must be signed in to change notification settings - Fork 680
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
TestBase and SpanTestBase are redundant #2757
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments but LGTM
tests/opentelemetry-test-utils/src/opentelemetry/test/test_base.py
Outdated
Show resolved
Hide resolved
tests/opentelemetry-test-utils/src/opentelemetry/test/spantestutil.py
Outdated
Show resolved
Hide resolved
…hon into issue-1993
…hon into issue-1993
Ready to merge, @srikanthccv please mark conversations as resolved if possible ✌️ |
I believe there is cache issue because contrib tests fail with the latest move to |
I see all tests passing 🤷 |
they are failing here https://github.com/open-telemetry/opentelemetry-python-contrib/runs/6872695613?check_suite_focus=true. @lzchen do you mind if I create another issue to address moving the tracing code to |
@srikanthccv |
Description
This removes the redundant setup code in
SpanTestBase
and moves the metrics setup to instance methods.Fixes #1993
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
tox
Does This PR Require a Contrib Repo Change?
Checklist: