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

Add support for MariaDB and migrate MySQL testing to TestContainers #381

Merged
merged 9 commits into from
Aug 29, 2019

Conversation

BillyYccc
Copy link
Member

Fixes #380

@vietj
Copy link
Member

vietj commented Jul 27, 2019

before accepting this PR we need to do Eclipse CQ for test containers

@BillyYccc
Copy link
Member Author

@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.

@vietj
Copy link
Member

vietj commented Jul 27, 2019

yes we could do that I think, it looks to work reasonably well.

@BillyYccc
Copy link
Member Author

@vietj do we have a green light now on the CQ for this to be merged?

@vietj
Copy link
Member

vietj commented Aug 1, 2019

no we need a works-with CQ first, I will do it tomorrow

@BillyYccc
Copy link
Member Author

It seems the PMC has approved the CQ request, can you please take a look at this?

@vietj
Copy link
Member

vietj commented Aug 6, 2019

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>
@BillyYccc BillyYccc changed the title Add support for MariaDB Add support for MariaDB and migrate MySQL testing to TestContainers Aug 29, 2019
@BillyYccc
Copy link
Member Author

Related with #385 and #386 for MySQL testing.

@BillyYccc
Copy link
Member Author

I have reworked the PR and add the migrations to testcontainers for MySQL here.

@BillyYccc
Copy link
Member Author

@vietj PTAL

@vietj vietj added this to the 3.8.2 milestone Aug 29, 2019
@vietj vietj merged commit 513c8af into eclipse-vertx:3.8 Aug 29, 2019
@BillyYccc BillyYccc deleted the mariadb-support branch August 29, 2019 15:22
BillyYccc added a commit to BillyYccc/vertx-sql-client that referenced this pull request Aug 30, 2019
…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>
vietj pushed a commit that referenced this pull request Sep 9, 2019
…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>
jeoffreylim pushed a commit to jeoffreylim/vertx-sql-client that referenced this pull request Sep 12, 2019
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MariaDB compatibility
2 participants