-
Notifications
You must be signed in to change notification settings - Fork 58
Upgrade mysql_async and tokio
#94
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
Conversation
…nto MySQLTokioUpgrade
…nto MySQLTokioUpgrade
|
Hmm the integration tests are failing in the CI. Are they failing on your side as well? |
|
Everything in the PR looks fine to me, so I'd just want to see why the integration tests are failing (make sure you have docker up and running before starting the test suite). Additionally you should be able to take a look at the integration tests logfile for more debug info if needed. Let me know if you need any help! |
slawlor
left a comment
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.
We'll need to address the test infra failures before merging. Just a suggestion, but make sure the docker container is up and running before running cargo test with
docker compose up -d
|
Missed upgrading tokio in one of the Cargo files. (Interestingly, all tests were passing on my machine.) All tests pass now. In the future, would it be better to combine these Cargo files -- unless we need separate ones for tests, akd, poc etc.? |
|
Yeah each package needs it's own Cargo file. We have a common one which is referred to as a "workspace" however we don't want a single global one since it impacts the necessary dependencies when published to [crates.io]. If we do that, then someone who wants just an in-memory AKD will need all the mysql dependencies, etc. This keeps it as lean as possible in the published crates, and users pull just what they need. |
This branch upgrades
mysql_asyncto version 0.28.1 andtokioto 1.10.2. Outputs for the following have been tested:Build:
cargo buildFormatting:
cargo fmtcargo clippyTest Plan:
cargo test