[
https://issues.apache.org/jira/browse/HUDI-8234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887992#comment-17887992
]
Lin Liu edited comment on HUDI-8234 at 10/9/24 4:02 PM:
--------------------------------------------------------
The error rate of the test is < 1%.
In order to reproduce the problem constantly, I decided to refactor the test
again to fix the input of the tests.
Then study the timeline of the commits, and figure out which commit causes the
issue.
Then we can understand what is happening.
was (Author: JIRAUSER301185):
The error rate of the test is < 1%.
In order to reproduce the problem constantly, I decided to refactor the test
again to fix the input of the tests.
> Fix flakey test testPartitionStatsWithMultiWriter
> -------------------------------------------------
>
> Key: HUDI-8234
> URL: https://issues.apache.org/jira/browse/HUDI-8234
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Ethan Guo (this is the old account; please use "yihua")
> Assignee: Lin Liu
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.0.0
>
>
> {code:java}
> Error: Tests run: 226, Failures: 1, Errors: 0, Skipped: 18, Time elapsed:
> 996.823 s <<< FAILURE! - in JUnit Vintage
> 7519Error: [2]
> tableType=MERGE_ON_READ(testPartitionStatsWithMultiWriter(HoodieTableType))
> Time elapsed: 2.625 s <<< FAILURE!
> 7520org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
> 7521 at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
> 7522 at
> org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
> 7523 at
> org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166)
> 7524 at
> org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161)
> 7525 at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:628)
> 7526 at
> org.apache.hudi.functional.PartitionStatsIndexTestBase.validateDataAndPartitionStats(PartitionStatsIndexTestBase.scala:262)
> 7527 at
> org.apache.hudi.functional.TestPartitionStatsIndex.testPartitionStatsWithMultiWriter(TestPartitionStatsIndex.scala:200)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)