Skip to content

Commit

Permalink
[Java] add jdk 21 tests (apache#977)
Browse files Browse the repository at this point in the history
add jdk 21 tests
  • Loading branch information
chaokunyang authored Oct 5, 2023
1 parent 2ffee3c commit a8e8b38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ install_bazel() {
}

JDKS=(
"zulu20.32.11-ca-jdk20.0.2-linux_x64"
"zulu21.28.85-ca-jdk21.0.0-linux_x64"
"zulu17.44.17-ca-crac-jdk17.0.8-linux_x64"
"zulu15.46.17-ca-jdk15.0.10-linux_x64"
"zulu13.54.17-ca-jdk13.0.14-linux_x64"
Expand All @@ -87,9 +87,14 @@ integration_tests() {
cd "$ROOT"/integration_tests/perftests
echo "Start latest jdk tests"
cd "$ROOT"/integration_tests/latest_jdk_tests
echo "latest_jdk_tests: JDK 17"
export JAVA_HOME="$ROOT/zulu17.44.17-ca-crac-jdk17.0.8-linux_x64"
export PATH=$JAVA_HOME/bin:$PATH
mvn -T10 -B --no-transfer-progress clean test
echo "latest_jdk_tests: JDK 21"
export JAVA_HOME="$ROOT/zulu21.28.85-ca-jdk21.0.0-linux_x64"
export PATH=$JAVA_HOME/bin:$PATH
mvn -T10 -B --no-transfer-progress clean test
echo "Start jdk compatibility tests"
cd "$ROOT"/integration_tests/jdk_compatibility_tests
mvn -T10 -B --no-transfer-progress clean test
Expand Down

0 comments on commit a8e8b38

Please sign in to comment.