-
Notifications
You must be signed in to change notification settings - Fork 201
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 support for MariaDB and migrate MySQL testing to TestContainers #381
Conversation
before accepting this PR we need to do Eclipse CQ for test containers |
@vietj how about migrating all the databases to Testcontainers some time later? Our MSSQL tests will use the that and the embedded Postgres is not maintained anymore, if we drop using the embedded databases we will then have only one dependency on the testcontainers. |
yes we could do that I think, it looks to work reasonably well. |
@vietj do we have a green light now on the CQ for this to be merged? |
no we need a works-with CQ first, I will do it tomorrow |
It seems the PMC has approved the CQ request, can you please take a look at this? |
the IP team needs to give a go as well |
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
…ment parameters Signed-off-by: Billy Yuan <billy112487983@gmail.com>
…ounding for fractional seconds Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
Signed-off-by: Billy Yuan <billy112487983@gmail.com>
4c9a324
to
02025e0
Compare
I have reworked the PR and add the migrations to testcontainers for MySQL here. |
@vietj PTAL |
…clipse-vertx#381) * add support for testing with MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * do not use null since the datatype will be used for the prepare statement parameters Signed-off-by: Billy Yuan <billy112487983@gmail.com> * skip the test for MariaDB because it does not support automatically rounding for fractional seconds Signed-off-by: Billy Yuan <billy112487983@gmail.com> * add connection URI support for MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * travis setup Signed-off-by: Billy Yuan <billy112487983@gmail.com> * update documentation Signed-off-by: Billy Yuan <billy112487983@gmail.com> * TestContainers migration for MySQL tests Signed-off-by: Billy Yuan <billy112487983@gmail.com> * use single init SQL script for MySQL Signed-off-by: Billy Yuan <billy112487983@gmail.com> * boost MySQL testing with the shared instance Signed-off-by: Billy Yuan <billy112487983@gmail.com>
…381) * add support for testing with MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * do not use null since the datatype will be used for the prepare statement parameters Signed-off-by: Billy Yuan <billy112487983@gmail.com> * skip the test for MariaDB because it does not support automatically rounding for fractional seconds Signed-off-by: Billy Yuan <billy112487983@gmail.com> * add connection URI support for MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * travis setup Signed-off-by: Billy Yuan <billy112487983@gmail.com> * update documentation Signed-off-by: Billy Yuan <billy112487983@gmail.com> * TestContainers migration for MySQL tests Signed-off-by: Billy Yuan <billy112487983@gmail.com> * use single init SQL script for MySQL Signed-off-by: Billy Yuan <billy112487983@gmail.com> * boost MySQL testing with the shared instance Signed-off-by: Billy Yuan <billy112487983@gmail.com>
…clipse-vertx#381) * add support for testing with MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * do not use null since the datatype will be used for the prepare statement parameters Signed-off-by: Billy Yuan <billy112487983@gmail.com> * skip the test for MariaDB because it does not support automatically rounding for fractional seconds Signed-off-by: Billy Yuan <billy112487983@gmail.com> * add connection URI support for MariaDB Signed-off-by: Billy Yuan <billy112487983@gmail.com> * travis setup Signed-off-by: Billy Yuan <billy112487983@gmail.com> * update documentation Signed-off-by: Billy Yuan <billy112487983@gmail.com> * TestContainers migration for MySQL tests Signed-off-by: Billy Yuan <billy112487983@gmail.com> * use single init SQL script for MySQL Signed-off-by: Billy Yuan <billy112487983@gmail.com> * boost MySQL testing with the shared instance Signed-off-by: Billy Yuan <billy112487983@gmail.com> Signed-off-by: Jeoffrey Lim <jeoffreyl@gmail.com>
Fixes #380