Rancho-7 opened a new pull request, #19919: URL: https://github.com/apache/kafka/pull/19919
jira: https://issues.apache.org/jira/browse/KAFKA-19382 Upgrade junit from 5.10.2 to [5.13.1](https://github.com/junit-team/junit5/releases). A new behavior was introduced to junit 5.12 (https://github.com/junit-team/junit5/commit/89a46dfa10c6447ef010fbff7903bfcb3c18975a), disallowing `ClusterTestExtensions` to generate empty invocation contexts. However, `ClusterTestExtensions` is invoked by junit extension so it could result in empty contexts for some tests. ``` > Configure project : Starting build with version 4.1.0-SNAPSHOT (commit id c4a769bc) using Gradle 8.14.1, Java 17 and Scala 2.13.16 Build properties: ignoreFailures=false, maxParallelForks=10, maxScalacThreads=8, maxTestRetries=0 > Task :core:test kafka.api.ConsumerBounceTest.initializationError failed, log available in /Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout Gradle Test Run :core:test > Gradle Test Executor 5 > ConsumerBounceTest > testCloseDuringRebalance(String) > initializationError FAILED org.junit.platform.commons.PreconditionViolationException: Provider [ClusterTestExtensions] did not provide any invocation contexts, but was expected to do so. You may override mayReturnZeroTestTemplateInvocationContexts() to allow this. at java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base@17.0.13/java.util.ArrayList.forEach(ArrayList.java:1511) kafka.api.ConsumerBounceTest.initializationError failed, log available in /Users/lansg/Project/OpenSource/kafka/kafka-fork/kafka/core/build/reports/testOutput/kafka.api.ConsumerBounceTest.initializationError.test.stdout ``` -- 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