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

Potential fix for flaky celery test #629

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

owais
Copy link
Contributor

@owais owais commented Aug 25, 2021

Description

It seems the same in memory span exporter was being reused by multiple
tests. This change should create a new instance of memeory exporter
per test/function.

Fixes https://github.com/open-telemetry/opentelemetry-python/issues/2067

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Existing tests

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

It seems the same in memory span exporter was being reused by multiple
tests. This change _should_ create a new instance of memeory exporter
per test/function.

Fixes open-telemetry#2067
@owais owais requested review from a team, aabmass and NathanielRN and removed request for a team August 25, 2021 15:26
@owais owais added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Aug 25, 2021
Copy link
Member

@aabmass aabmass left a comment

Choose a reason for hiding this comment

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

Nice work!

@owais owais merged commit c6976fc into open-telemetry:main Aug 25, 2021
@owais owais deleted the fix-docker-celery-tests branch August 25, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix flaky docker celery tests
3 participants