-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate selected Iceberg tests #19505
Conversation
it's no longer about only metadata files.
public static Object[][] fileFormats() | ||
{ | ||
return Stream.of(IcebergFileFormat.values()) | ||
.map(icebergFileFormat -> new Object[] {icebergFileFormat}) | ||
.toArray(Object[][]::new); | ||
} | ||
|
||
@Test(dataProvider = "fileFormats") | ||
@ParameterizedTest | ||
@MethodSource("fileFormats") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could use @EnumSource(IcebergFileFormat.class)
instead in this class & TestIcebergMigrateProcedure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need separate commits for each test migration. You can have a single commit "Migrate Iceberg tests" and it will still be relatively small and easy to review.
Previously the check allowed e.g. `org.junit.jupiter.api.Test`, but not e.g. `org.junit.jupiter.params.ParameterizedTest` (different package).
No description provided.