Skip to content

Commit 8af3017

Browse files
k0machifruch
authored andcommitted
run_test.sh: Define JAVA_HOME inside the container
This change explicitly defines JAVA_HOME environment variable to point to Temurin SDK, as due to 4.18.0 update of datastax driver, which updated maven-surefire-plugin to 3.0.0, maven is unable to locate proper JDK to use - explicitly defining JDK path fixes the issue
1 parent f3ed4f6 commit 8af3017

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/run_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ docker_cmd="docker run --init --detach=true \
132132
-v ${SCYLLA_JAVA_DRIVER_MATRIX_DIR}:${SCYLLA_JAVA_DRIVER_MATRIX_DIR} \
133133
-e HOME \
134134
-e SCYLLA_EXT_OPTS \
135+
-e JAVA_HOME='/usr/lib/jvm/temurin-8-jdk-amd64/'
135136
-e WORKSPACE \
136137
${BUILD_OPTIONS} \
137138
${JOB_OPTIONS} \

0 commit comments

Comments
 (0)