nastra opened a new pull request, #19220: URL: https://github.com/apache/iceberg/pull/19220
This replaces Iceberg's `ParameterizedTestExtension` with JUnit's `@ParameterizedClass` in the Spark 4.2 `spark`, `spark-extensions` and `spark-runtime` tests, following #19212. Only hierarchy roots such as `TestBaseWithCatalog` declare `@MethodSource`, since JUnit merges an inherited source with a subclass's own. `TestRepairTableActionEncryption` now supplies its single Hive and KMS catalog configuration through `parameters()` instead of its constructor, because JUnit injects parameter fields after construction; it still runs once. Two display-name labels with wrong placeholders were fixed. The remaining Spark 4.2 classes are converted in #19215, and Spark 4.1, 4.0 and 3.5 will follow as backports. Test plan: no behavior change is intended. These tests were not compiled or run locally, so CI is the first run; the inheritance, lifecycle and injection patterns they rely on were checked with standalone JUnit 6.1.3 probes. --- **AI Disclosure** - Model: Claude Opus 5.5 - Platform/Tool: Claude Code - Human Oversight: [unknown - human to fill in] - Prompt Summary: Convert the Spark 4.2 tests from `ParameterizedTestExtension` to JUnit's native parameterization, keeping test behavior unchanged. This pull request and its description were written by Isaac. -- 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]
