nizhikov opened a new pull request, #15729: URL: https://github.com/apache/kafka/pull/15729
All `core` module tests compiled as scala tests, but `-parameters` compiler option required for junit added only to javatest compiler option. This PR fixes it. Before fix: ``` ❯ ./gradlew cleanTest :core:test --tests BootstrapControllersIntegrationTest.testDescribeCluster > Configure project : Starting build with version 3.8.0-SNAPSHOT (commit id e5a85607) using Gradle 8.7, Java 21 and Scala 2.13.12 Build properties: maxParallelForks=10, maxScalacThreads=8, maxTestRetries=0 > Task :core:test Gradle Test Run :core:test > Gradle Test Executor 105 > BootstrapControllersIntegrationTest > testDescribeCluster(boolean) > "testDescribeCluster(boolean).false" PASSED Gradle Test Run :core:test > Gradle Test Executor 105 > BootstrapControllersIntegrationTest > testDescribeCluster(boolean) > "testDescribeCluster(boolean).true" PASSED ``` After fix (Please, note difference in test names): ``` ❯ ./gradlew cleanTest :core:test --tests BootstrapControllersIntegrationTest.testDescribeCluster > Configure project : Starting build with version 3.8.0-SNAPSHOT (commit id e5a85607) using Gradle 8.7, Java 21 and Scala 2.13.12 Build properties: maxParallelForks=10, maxScalacThreads=8, maxTestRetries=0 > Task :core:compileTestScala ... > Task :core:test Gradle Test Run :core:test > Gradle Test Executor 107 > BootstrapControllersIntegrationTest > testDescribeCluster(boolean) > "testDescribeCluster(boolean).usingBootstrapControllers=false" PASSED Gradle Test Run :core:test > Gradle Test Executor 107 > BootstrapControllersIntegrationTest > testDescribeCluster(boolean) > "testDescribeCluster(boolean).usingBootstrapControllers=true" PASSED ``` ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org