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

Address flakiness of early conflict detection tests

    XMLWordPrintableJSON

Details

    Description

      Error from CI

      2023-02-18T04:19:53.4129671Z [ERROR] Tests run: 19, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 347.583 s <<< FAILURE! - in org.apache.hudi.client.TestHoodieClientMultiWriter
      2023-02-18T04:19:53.4145999Z [ERROR] testHoodieClientBasicMultiWriterWithEarlyConflictDetection{String, String, String}[2]  Time elapsed: 13.151 s  <<< FAILURE!
      2023-02-18T04:19:53.4147217Z org.opentest4j.AssertionFailedError: Early conflict detected but cannot resolve conflicts for overlapping writes ==> Expected org.apache.spark.SparkException to be thrown, but nothing was thrown.
      2023-02-18T04:19:53.4148149Z 	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:71)
      2023-02-18T04:19:53.4148931Z 	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:41)
      2023-02-18T04:19:53.4149646Z 	at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3023)
      2023-02-18T04:19:53.4150563Z 	at org.apache.hudi.client.TestHoodieClientMultiWriter.testHoodieClientBasicMultiWriterWithEarlyConflictDetection(TestHoodieClientMultiWriter.java:213)
      2023-02-18T04:19:53.4151420Z 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2023-02-18T04:19:53.4152261Z 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2023-02-18T04:19:53.4153134Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2023-02-18T04:19:53.4153862Z 	at java.lang.reflect.Method.invoke(Method.java:498)
      2023-02-18T04:19:53.4154579Z 	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
      2023-02-18T04:19:53.4155376Z 	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      2023-02-18T04:19:53.4156260Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) 

      Attachments

        Issue Links

          Activity

            People

              guoyihua Ethan Guo
              guoyihua Ethan Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: