He-Pin opened a new pull request, #580: URL: https://github.com/apache/pekko-connectors-kafka/pull/580
### Motivation JUnit 4 is end-of-life. JUnit 6 unifies version numbering across Platform, Jupiter, and Vintage components. ### Modification - Add global JupiterKeys overrides for JUnit Jupiter and Platform 6.1.0 - Migrate Java test files from JUnit 4 to Jupiter - Replace `ExpectedException` rules with `assertThrows` - Replace `@Rule LogCapturingJunit4` with `@ExtendWith(LogCapturingExtension.class)` - Deprecate `KafkaJunit4Test` and `TestcontainersKafkaJunit4Test` (use `KafkaTest`/`TestcontainersKafkaTest` instead) - Keep JUnit 4 dependency for deprecated testkit classes (binary compatibility) ### Result All tests run on JUnit 6.1.0. Deprecated JUnit 4 testkit classes remain for backward compatibility. ### Tests Not run - compilation verification needed with sbt in CI environment ### References None - JUnit 6 migration -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
