You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spark 3.5: Migrate tests to JUnit5 in data directory - #9341
Fix: TestDataFrameWrites extends AvroDataTest. Since the temp dir has been updated to JUnit5 In AvroDataTest, TestDataFrameWrites temp is throwing errors.
To fix, I'll update only the temp calls in TestDataFrameWrites to JUnit5.
Initially, I assumed I can seperate out parameterize and non-parameterize files. But the CI errors included parameterized files that inherit from spark/data/AvroDataTest.
So I'm converting these files from JUnit4 to JUnit5
the files (parameterized and non-parameterized) in spark/data and
the param files inspark/source that inherit from AvroDataTest.
All CI tests pass locally with this command. ./gradlew -DsparkVersions=3.5 -DscalaVersion=2.13 -DhiveVersions= -DflinkVersions= :iceberg-spark:iceberg-spark-3.5_2.13:check -Pquick=true -x javadoc
chinmay-bhat
changed the title
Spark Migration to JUnit5 AssertJ - non-parameterized, spark/data directory
Spark Migration to JUnit5 AssertJ - spark/data directory
Dec 21, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since migrating Spark 3.5v to Junit5 is a large task, I'm splitting my work into multiple easy-to-review PR's, split by directory.
This PR contains the Junit5 migration for Spark 3.5v for the
spark/datadirectory, and any files that inherit from this directory.Issue: #9086
TODO: