Anurag-S1ngh opened a new pull request, #19280:
URL: https://github.com/apache/iceberg/pull/19280
## Summary
- #19238 removed `ParameterizedTestExtension`, `Parameters`, and
`Parameter`, but five test classes still referenced them, so
`:iceberg-data:compileTestJava` fails on main.
- Convert the remaining classes to JUnit's `@ParameterizedClass` with an
explicit `@MethodSource`, matching the tests that were already migrated.
## Changes
- `EncryptedTableReadTestBase`: use `@ParameterizedClass` +
`@MethodSource("parameters")`, inject parameters with `@Parameter(index)`, and
use `@Test` instead of `@TestTemplate`.
- `TestArrowReaderEncryption`: remove the old `@Parameters` annotation and
use `@Test` for the disabled override.
- The three Spark 4.2 encryption tests: remove the old annotations and use
`@Test`.
- Subclass parameter overrides are unchanged.
## Testing
- `./gradlew :iceberg-data:compileTestJava` passes.
- `./gradlew :iceberg-data:test --tests
"org.apache.iceberg.data.TestGenericReaderEncryption"` passes.
- `./gradlew :iceberg-arrow:test --tests
"org.apache.iceberg.arrow.vectorized.TestArrowReaderEncryption"` passes.
- Spark 4.2 test sources compile, and
`TestPositionDeletesRowReaderEncryption`, `TestBatchDataReaderEncryption`, and
`TestChangelogRowReaderEncryption` pass.
- `./gradlew :iceberg-mr:compileTestJava` passes.
- `spotlessApply` run for the affected modules.
--
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]