-
Task
-
Resolution: Unresolved
-
Major
-
None
-
False
-
None
-
False
-
Currently it is not possible to run a single MySQL IT for a given database config (e.g. with SSL, GTIDs, etc.):
mvn verify -pl :debezium-connector-mysql -Dit.test=MySqlUnsignedIntegerIT -Pssl
-DskipTests=true
The reason being that the database configuration (container image start) is extracted to separate Maven build profiles, but the actual test execution configuration (system properties e.g. to enable SSL) is done in multiple Failsafe plug-in executions within the "assembly" profile.
To do:
- Move those Failsafe executions into the corresponding profiles, i.e. one will have a matching set-up of started container and Failsafe config when activating a specific profile, allowing the mvn invocation above to succeed
- On CI, have a job (or adjust an existing one) which builds with all the profiles enabled, so to keep testing with all the different DB set-ups, as this won't be the case any longer when solely enabling the "assembly" profile
- relates to
-
DBZ-4787 Not reading the keystore/truststore when enabling MySQL SSL authentication
- Closed