Skip to content

opentelemetry-instrumentation-mysqlclient: update unit tests to properly validate trace context trace flags values#4560

Merged
xrmx merged 3 commits into
open-telemetry:mainfrom
herin049:fix/mysqlclient-traceflags-test
May 11, 2026
Merged

opentelemetry-instrumentation-mysqlclient: update unit tests to properly validate trace context trace flags values#4560
xrmx merged 3 commits into
open-telemetry:mainfrom
herin049:fix/mysqlclient-traceflags-test

Conversation

@herin049
Copy link
Copy Markdown
Contributor

@herin049 herin049 commented May 9, 2026

Description

Updates unit tests for opentelemetry-instrumentation-mysqlclient to properly validate trace context trace flags values to properly handle the random trace id flag being added in the following PR: open-telemetry/opentelemetry-python#4854

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?

Tox

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

…rly validate trace context trace flags values
@herin049 herin049 requested a review from a team as a code owner May 9, 2026 01:56
@xrmx xrmx moved this to Easy to review / merge / close in Python PR digest May 11, 2026
@github-project-automation github-project-automation Bot moved this from Easy to review / merge / close to Approved PRs in Python PR digest May 11, 2026
@xrmx xrmx merged commit f5adb4d into open-telemetry:main May 11, 2026
753 checks passed
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Python PR digest May 11, 2026
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-python-contrib that referenced this pull request May 13, 2026
…rly validate trace context trace flags values (open-telemetry#4560)

* opentelemetry-instrumentation-mysqlclient: update unit tests to properly validate trace context trace flags values

* update CHANGELOG.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants