Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-6174

Fix flaky test testCleanerDeleteReplacedDataWithArchive

    XMLWordPrintableJSON

Details

    Description

      This happens frequently (50% for the CI failure). 

       

      [ERROR] testCleanerDeleteReplacedDataWithArchive{Boolean, HoodieRecordType}[1]  Time elapsed: 49.261 s  <<< FAILURE!
      org.opentest4j.AssertionFailedError: expected: <0> but was: <1> 
      at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) 
      at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) 
      at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166) 
      at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161) 
      at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:611) 
      at org.apache.hudi.utilities.deltastreamer.TestHoodieDeltaStreamer.testCleanerDeleteReplacedDataWithArchive(TestHoodieDeltaStreamer.java:1119) 
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
      at java.lang.reflect.Method.invoke(Method.java:498) 
      at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) 
      at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) 
       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              guoyihua Ethan Guo (this is the old account; please use "yihua")
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: