asyncer-io / r2dbc-mysql

Reactive Relational Database Connectivity for MySQL. The official successor to mirromutth/r2dbc-mysql(dev.miku:r2dbc-mysql).
https://r2dbc.io
Apache License 2.0
206 stars 21 forks source link

Using Testcontainers for R2DBC MySQL Integration Testing #108 #109

Closed saurabhyadav1985 closed 7 months ago

saurabhyadav1985 commented 1 year ago

Motivation: To use testcontainers for R2DBC MySQL Integration Testing #76

Modification:

  1. Removing block to start/destroy mysql container from ci-integration-tests.yml
  2. In IntegrationTestSupport adding static block to start mysql container.
  3. Use mapped port of container while building MySqlConnectionConfiguration

Result: All tests working locally.

jchrys commented 7 months ago

close after making coauthored https://github.com/asyncer-io/r2dbc-mysql/pull/264 based off of this