Skip to content

GH-3618: Migrate parquet-hadoop to JUnit5 - #3676

Merged
wgtmac merged 1 commit into
apache:masterfrom
nastra:junit5-parquet-hadoop
Jul 22, 2026
Merged

GH-3618: Migrate parquet-hadoop to JUnit5#3676
wgtmac merged 1 commit into
apache:masterfrom
nastra:junit5-parquet-hadoop

Conversation

@nastra

Copy link
Copy Markdown
Contributor

Rationale for this change

This migrates the parquet-hadoop module to JUnit5. JUnit5 doesn't support built-in class-level test parameterization and so those tests were converted to parameterize at the method level.

Closes#3618

What changes are included in this PR?

migration of parquet-hadoop to JUnit5

Are these changes tested?

yes, existing tests

Are there any user-facing changes?

no

@nastra
nastraforce-pushed the junit5-parquet-hadoop branch from ee2ebf2 to 56edef3CompareJuly 21, 2026 09:40
import org.junit.jupiter.params.provider.MethodSource;

public class TestAdaptiveBlockSplitBloomFiltering extends TestBloomFiltering {
public class TestAdaptiveBlockSplitBloomFiltering {

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

refactoring this test is unfortunately more involved, so I opted for just using the TestBloomFiltering as an instance

@nastra
nastraforce-pushed the junit5-parquet-hadoop branch from 56edef3 to 540dad0CompareJuly 21, 2026 10:10
@nastra

Copy link
Copy Markdown
ContributorAuthor

/cc @Fokko@wgtmac this is the last PR to complete AssertJ + JUnit5 migration

@nastra
nastraforce-pushed the junit5-parquet-hadoop branch from 540dad0 to 28d7b99CompareJuly 21, 2026 10:58
@nastranastra changed the title GH-3618 Migrate parquet-hadoop to JUnit5GH-3618: Migrate parquet-hadoop to JUnit5Jul 21, 2026
@wgtmac
wgtmac merged commit a52c34b into apache:masterJul 22, 2026
5 checks passed
@wgtmac

Copy link
Copy Markdown
Member

Awesome. Thanks @nastra!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from JUnit4 to JUnit5

2 participants

@nastra@wgtmac