-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[MINOR] Fixed unit tests #10362
[MINOR] Fixed unit tests #10362
Conversation
@@ -492,6 +493,9 @@ public void testTableOperationsWithMetadataIndex(HoodieTableType tableType) thro | |||
.withMaxNumDeltaCommitsBeforeCompaction(12) // cannot restore to before the oldest compaction on MDT as there are no base files before that time | |||
.build()) | |||
.build(); | |||
// module com.fasterxml.jackson.datatype:jackson-datatype-jsr310 is needed for proper column stats processing for Jackson >= 2.11 (Spark >= 3.3) | |||
// Java 8 date/time type `java.time.LocalDate` is not supported by default | |||
JsonUtils.registerModules(); |
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.
nice catch ~
65ae6dc
to
0279bd0
Compare
I've reverted back changes in Tried even to run locally full copy of the maven command from Azure pipeline "UT FT common & flink & UT client/spark-client":
but can't reproduce Azure running results. There is a hung of Azure pipeline "UT FT other modules". Will just try to restart it. But I've checked that in the available log:
which means that fix in |
cbb9389
to
0bb3eae
Compare
@hudi-bot run azure |
...utilities/src/test/java/org/apache/hudi/utilities/deltastreamer/TestHoodieDeltaStreamer.java
Outdated
Show resolved
Hide resolved
ef0f9f4
to
4365f28
Compare
@hudi-bot run azure |
I don't understand what is happening with CI. I've changed 2 unit tests:
Both are Java tests. Azure CI
before
My change in this test couldn't brake it this way, only test failure is possible. Maybe with my MR test ordering is changed and the unit tests running is hung at If the order of running test classes hasn't changed, then from another successful run the order is:
In my failed Azure CI log the part from GitHub ActionsMy change in
@danny0405 , @yihua Could you, please, give me any suggestions what else I can try? |
@hudi-bot run azure |
@Geser There are some OOM issues on master code that are are trying to fix, should not be related with your change. |
fad43f0
to
d41d055
Compare
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.
LGTM
@yihua : If you are ok with this change, can you land it ? |
The OOM looks to be unrelated to this PR, which happens on master too. |
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.
LGTM
Change Logs
Fixed unit test in TestJavaHoodieBackedMetadata, and TestHoodieDeltaStreamer.
Impact
Fixed unit tests.
Risk level (write none, low medium or high below)
Low.
Contributor's checklist