-
Notifications
You must be signed in to change notification settings - Fork 539
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
fix(instrumentation-mysql): fix test for mysql2 v3 (#2168) #2451
fix(instrumentation-mysql): fix test for mysql2 v3 (#2168) #2451
Conversation
Update mysql2 dependency to latest version (@3.11.3) and fix tests. Problems during `npm run compile` were fixed by removing an unsafe and incorrect typecast. Fixes open-telemetry#2168 Signed-off-by: Thomas Praxl <[email protected]>
Hold on. I was mislead. While the mysql2 tests do compile now and they signaled success during I really think you should generally separate skipped tests from succeeded tests in the output. I only noticed that, because I actually want to fix #1511 and started to work on that. Let's see if I can fix the tests when they are not skipped. Might take a while, depending on the time I can spare. In the meantime: Should I close this PR or do you want to keep it open? |
The tests succeeded (except for fastify and mongoose), once I figured out that I need to export
(Where You should mention that somewhere in the README under "How to run tests the right way". This PR is now ready for review. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2451 +/- ##
=======================================
Coverage 90.83% 90.83%
=======================================
Files 159 159
Lines 7831 7831
Branches 1610 1610
=======================================
Hits 7113 7113
Misses 718 718 |
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.
LGTM. Thanks for contributing to OpenTelemetry :)
@haddasbronfman any feedback?
This package does not have an assigned component owner and is considered unmaintained. As such this package is in feature-freeze and this PR will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature. |
Uh.. can anyone explain what happened? How likely is this PR being closed in 14 days? |
@tpraxl this message is automatic for all unmaintained packages, to make it clear we won't accept new features unless there is a new code owner for it, but we're still accepting fixes, so we would be able to merge your PR, is just a matter of getting the approval and a maintainer merging it. |
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.
Thanks @tpraxl !
Please fix the conflicts and then I'll merge
Which problem is this PR solving?
Fixes #2168 - migrate to v3 in tests
Short description of the changes
Update mysql2 dependency to latest version (@3.11.3) and fix tests. Problems during
npm run compile
were fixed by removing an unsafe and incorrect typecast.