Skip to content

Conversation

@tomtongue
Copy link
Contributor

Migrate Spark 3.4 tests based on JUnit 4 to Junit5 with AssertJ style. This is related to #7160

This PR migrates the following SparkCatalogTestBase related tests to JUnit 5 with AssertJ:

Plus, additional one: TestRuntimeFiltering

@github-actions github-actions bot added the spark label May 8, 2025
@tomtongue
Copy link
Contributor Author

tomtongue commented May 8, 2025

@nastra Could you review this PR as well when you have time? This PR will remove the SparkCatalogTestBase class.

import org.junit.jupiter.api.TestTemplate;
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(ParameterizedTestExtension.class)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI that Spark 4 now made it into the codebase, so we should eventually also sync up 3.5 <-> 4.0 tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay got it. Thanks!

Copy link
Contributor

@nastra nastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @tomtongue

@nastra nastra merged commit 809a232 into apache:main May 8, 2025
27 checks passed
@tomtongue
Copy link
Contributor Author

@nastra Thank you for reviewing this PR!

@tomtongue tomtongue deleted the migrate-spark3.4-catalogtestbase branch May 8, 2025 09:25
anuragmantri added a commit to anuragmantri/iceberg that referenced this pull request Jul 25, 2025
devendra-nr pushed a commit to devendra-nr/iceberg that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants