exasol / exasol-test-setup-abstraction-java

Common interface for testing with an Exasol database in local and AWS environments using Java.
MIT License
1 stars 1 forks source link

Support user provided Exasol docker-db version #62

Closed morazow closed 10 months ago

morazow commented 1 year ago

Situation

ETAJ should use the user provided Exasol docker version. When running CI or locally, we usually set the docker-db versions (e.g, as environment variable). It would help if the ETAJ uses this version of docker-db.

For example the one set by the com.exasol.dockerdb.image parameter:

-Dcom.exasol.dockerdb.image=${{ matrix.docker_db_version }}

Acceptance Criteria

kaklakariada commented 10 months ago

exasol-test-setup-abstraction-java delegates to exasol-testcontainers which in turn uses system property com.exasol.dockerdb.image. So setting this system property will allow the user to define the Exasol DB version to use. Ci build uses this mechanism to test with Exasol 7.1 and 8. We also use this in https://github.com/exasol/exasol-test-setup-abstraction-server/blob/main/go-client/server.go#L24-L32

Closing as already implemented.