Skip to content

Potential fix for flaky celery test#629

Merged
owais merged 1 commit intoopen-telemetry:mainfrom
owais:fix-docker-celery-tests
Aug 25, 2021
Merged

Potential fix for flaky celery test#629
owais merged 1 commit intoopen-telemetry:mainfrom
owais:fix-docker-celery-tests

Conversation

@owais
Copy link
Copy Markdown
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, NathanielRN and aabmass 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
Copy Markdown
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