From 22dfd3eb2e5faef3e505847c598657edc7208150 Mon Sep 17 00:00:00 2001 From: Kyle Miho Date: Mon, 29 Jul 2024 16:33:40 -0700 Subject: [PATCH] LPD-31475 Add JDK21 tests to dev tools project template test batch --- build-test-batch.xml | 30 ++++++++++++++++++++++++++++++ test.properties | 8 ++++++++ 2 files changed, 38 insertions(+) diff --git a/build-test-batch.xml b/build-test-batch.xml index 5a74ff46c69d7f..a39ee9fc65e45d 100644 --- a/build-test-batch.xml +++ b/build-test-batch.xml @@ -7208,6 +7208,21 @@ information. Make sure to commit in all format-javadoc results. + + + + + junit.jvm.override=${java.jdk.home}/bin/java + junit.jvm.override.version=21 + + + + + + + + + @@ -7435,6 +7450,21 @@ junit.jvm.override.version=21 + + + + + junit.jvm.override=${java.jdk.home}/bin/java + junit.jvm.override.version=21 + + + + + + + + + diff --git a/test.properties b/test.properties index 5cf92c6dbcfcfc..642d715057f7a6 100644 --- a/test.properties +++ b/test.properties @@ -1301,9 +1301,11 @@ test.batch.axis.max.size[modules-compile-jdk8]=35 test.batch.axis.max.size[modules-integration-*]=20 test.batch.axis.max.size[modules-integration-project-templates-jdk8]=10 + test.batch.axis.max.size[modules-integration-project-templates-jdk21]=5 test.batch.axis.max.size[modules-semantic-versioning-jdk8]=30 test.batch.axis.max.size[modules-unit-*]=50 test.batch.axis.max.size[modules-unit-project-templates-jdk8]=25 + test.batch.axis.max.size[modules-unit-project-templates-jdk21_zulu]=15 test.batch.axis.max.size[semantic-versioning-jdk8]=50 test.batch.axis.max.size[tck-jdk8]=50 test.batch.axis.max.size[unit-*]=5000 @@ -1343,8 +1345,10 @@ test.batch.class.names.filter[modules-integration-*]=**/src/testIntegration/**/*Test.java test.batch.class.names.filter[modules-integration-analytics-cloud]=**/testIntegration/**/*Test.java test.batch.class.names.filter[modules-integration-project-templates-jdk8]=${test.batch.class.names.filter[modules-unit-*]} + test.batch.class.names.filter[modules-integration-project-templates-jdk21_zulu]=${test.batch.class.names.filter[modules-unit-*]} test.batch.class.names.filter[modules-unit-*]=**/src/test/**/*Test.java test.batch.class.names.filter[modules-unit-project-templates-jdk8]=${test.batch.class.names.filter[modules-unit-*]} + test.batch.class.names.filter[modules-unit-project-templates-jdk21_zulu]=${test.batch.class.names.filter[modules-unit-*]} test.batch.class.names.filter[unit-*]=**/test/unit/**/*Test.java test.batch.class.names.includes=\ @@ -1354,6 +1358,7 @@ test.batch.class.names.includes[junit-test-csv-report-jdk8]=${test.batch.class.names.includes} test.batch.class.names.includes[modules-integration-project-templates-jdk8]=**/project-templates/**/src/test/**/*Test.java + test.batch.class.names.includes[modules-integration-project-templates-jdk21_zulu]=**/project-templates/**/src/test/**/*Test.java test.batch.class.names.includes[modules-integration-*-jdk8]=**/src/testIntegration/**/*Test.java test.batch.class.names.includes[modules-integration-*-jdk8_stable]=\ @@ -1369,6 +1374,7 @@ **/portal-upgrade-impl/**/*Test.java test.batch.class.names.includes[modules-unit-project-templates-jdk8]=**/project-templates/**/src/test/**/*Test.java + test.batch.class.names.includes[modules-unit-project-templates-jdk21_zulu]=**/project-templates/**/src/test/**/*Test.java test.batch.class.names.includes[tck-jdk8]=deploy/target/deploy-files/tck-*.war test.batch.class.names.includes[unit-jdk*]=**/test/unit/**/*Test.java @@ -5011,8 +5017,10 @@ test.batch.run.property.query[functional-orcllinux9-tomcat90-mysql57-jdk8]=\ test.batch.names[dev-tools]=\ modules-integration-project-templates-jdk8,\ + modules-integration-project-templates-jdk21_zulu,\ modules-unit-jdk8,\ modules-unit-project-templates-jdk8,\ + modules-unit-project-templates-jdk21_zulu,\ source-format-current-branch-jdk8 #