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

Add SQLAlchemy multithreading test #468

Merged
merged 3 commits into from
Jun 3, 2021
Merged

Add SQLAlchemy multithreading test #468

merged 3 commits into from
Jun 3, 2021

Conversation

jomasti
Copy link
Contributor

@jomasti jomasti commented Apr 26, 2021

Description

I was able to get the test to fail reliably for PostgreSQL by reverting
back the behavior before #315. When going back to the current behavior,
the test passes fine.

Should more be done to try to trigger the others
to also log the warning?

Resolves #383

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Docker SQLAlchemy test added

Does This PR Require a Core Repo Change?

  • 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

@jomasti jomasti requested review from a team, codeboten and ocelotl and removed request for a team April 26, 2021 03:42
@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 4, 2021
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for adding this test! Just one question about the use of logging in the test and it looks like lint needs fixing.

@codeboten codeboten self-assigned this May 4, 2021
jomasti added 2 commits June 1, 2021 14:52
I was able to get the test to fail reliably for PostgreSQL by reverting
back the behavior before #315. When going back to the current behavior,
the test passes fine.

Should more be done to try to trigger the others
to also log the warning?
@codeboten codeboten merged commit a3ecbc1 into open-telemetry:main Jun 3, 2021
@jomasti jomasti deleted the sqlalchemy-multithreading-test branch June 3, 2021 17:43
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.

sqlalchemy: add test to ensure thread safety
3 participants