Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4831

Allow to run specific MySQL ITs with a given database

XMLWordPrintable

    • 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

            Unassigned Unassigned
            gunnar.morling Gunnar Morling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: