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

Use latest mysql2 version for testing #815

Merged
merged 5 commits into from
Dec 11, 2019
Merged

Use latest mysql2 version for testing #815

merged 5 commits into from
Dec 11, 2019

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Sep 13, 2019

Since we locked mysql2 < 0.5 in #382, the Rails team has released (and backported) a fix that allows us to use the newest version of mysql2 (currently 0.5.2).

Support for this new version of mysql2 starts with Rails 4.2 (using an updated patch release).

This PR updates dd-trace-rb test matrix to test against mysql2 < 1; keeping the version somewhat conservative, in case a bump to 1.0 breaks ActiveRecord again.

@marcotc marcotc added the dev/testing Involves testing processes (e.g. RSpec) label Sep 13, 2019
@marcotc marcotc changed the base branch from 0.28-dev to master October 8, 2019 09:10
@marcotc marcotc self-assigned this Oct 28, 2019
@marcotc marcotc changed the title [wip] Use newest mysql2 version for testing [wip] Use latest mysql2 version for testing Oct 28, 2019
@marcotc marcotc changed the title [wip] Use latest mysql2 version for testing Use latest mysql2 version for testing Oct 29, 2019
@marcotc marcotc marked this pull request as ready for review October 29, 2019 17:58
@marcotc marcotc requested a review from a team October 29, 2019 17:58
delner
delner previously approved these changes Dec 10, 2019
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

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

👍

@marcotc marcotc requested a review from delner December 10, 2019 23:00
@marcotc
Copy link
Member Author

marcotc commented Dec 10, 2019

As discussed with @delner, unlocked the library version a little more, to < 1 instead.

@marcotc marcotc merged commit 6505711 into master Dec 11, 2019
@marcotc marcotc deleted the test/bump-mysql2 branch December 11, 2019 19:54
delner pushed a commit that referenced this pull request Dec 30, 2019
@delner delner mentioned this pull request Dec 30, 2019
@marcotc marcotc added this to the 0.31.0 milestone Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants