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

Define the data directory where tests are storing their data

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Trivial Trivial
    • 0.9.0.Beta1
    • None
    • test-infrastructure
    • None

      We use io.debezium:debezium-core:xx (and io.debezium:debezium-core:xx:tests) in our projects which are builded by Gradle.

      If I run gradle test the ${projectDir}/target directory is created (we use in tests io.debezium.util.Testing.Files#createTestingXX methods).

      In order for the gradle test to create the build/data directory (not target/data) in the project directory I would like to define the environment variable DBZ_TEST_DATA_DIR to specify directory where tests are storing their data.

      If value of the DBZ_TEST_DATA_DIR environment variable is undefined then the default value must be used: target/data.

              Unassigned Unassigned
              blakaz Anton Martynov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: