Skip to content

Commit

Permalink
Fix getting exasol docker db version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Aug 13, 2024
1 parent 0bb2f50 commit 12cc55c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ public class IntegrationTestConstants {
public static final String PROJECT_VERSION = MavenProjectVersionGetter.getCurrentProjectVersion();
public static String JAR_FILE_NAME = "exasol-kafka-connector-extension-" + PROJECT_VERSION + ".jar";
public static String TEST_SCHEMA_NAME = "kafka_schema";
public static String DEFAULT_EXASOL_DOCKER_IMAGE = "8.24.0";
public static String LOCALSTACK_DOCKER_IMAGE = "localstack/localstack:2.2";
public static String DOCKER_IP_ADDRESS = "172.17.0.1";
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import org.scalatest.funsuite.AnyFunSuite

trait BaseDockerIntegrationTest extends AnyFunSuite with BeforeAndAfterAll {
private[this] val JAR_NAME_PATTERN = "exasol-kafka-connector-extension-"
private[this] val DEFAULT_EXASOL_DOCKER_IMAGE = "8.24.0"
private[this] val DEFAULT_EXASOL_DOCKER_IMAGE = "8.29.1"

val network = DockerNamedNetwork("kafka-it-tests", true)
val exasolContainer = {
Expand Down Expand Up @@ -120,7 +120,7 @@ trait BaseDockerIntegrationTest extends AnyFunSuite with BeforeAndAfterAll {
}

private[this] def getExasolDockerImageVersion(): String = {
val dockerVersion = System.getenv("EXASOL_DOCKER_VERSION")
val dockerVersion = System.getenv("EXASOL_DB_VERSION")
if (dockerVersion == null) {
DEFAULT_EXASOL_DOCKER_IMAGE
} else {
Expand Down

0 comments on commit 12cc55c

Please sign in to comment.