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

Fix Flaky test TestInputFormat. testReadIncrementally

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tests-ci
    • None

    Description

      TestInputFormat. testReadIncrementally

       

      Ref logs:

      https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_apis/build/builds/18675/logs/30

       

      2023-07-19T04:05:05.6883452Z [ERROR] Tests run: 35, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 69.184 s <<< FAILURE! - in org.apache.hudi.table.format.TestInputFormat
      2023-07-19T04:05:05.6884096Z [ERROR] testReadIncrementally{HoodieTableType}[2]  Time elapsed: 2.27 s  <<< FAILURE!
      2023-07-19T04:05:05.6884816Z java.lang.AssertionError: 
      2023-07-19T04:05:05.6884917Z 
      2023-07-19T04:05:05.6885695Z Expected: is "[+I[id3, Danny, 23, 1970-01-01T00:00:00.003, par1], +I[id4, Danny, 23, 1970-01-01T00:00:00.004, par1], +I[id5, Danny, 23, 1970-01-01T00:00:00.005, par1], +I[id6, Danny, 23, 1970-01-01T00:00:00.006, par1]]"
      2023-07-19T04:05:05.6886368Z      but: was "[+I[id5, Danny, 23, 1970-01-01T00:00:00.005, par1], +I[id6, Danny, 23, 1970-01-01T00:00:00.006, par1]]"
      2023-07-19T04:05:05.6886671Z 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
      2023-07-19T04:05:05.6886946Z 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
      2023-07-19T04:05:05.6887218Z 	at org.apache.hudi.utils.TestData.assertRowDataEquals(TestData.java:641)
      2023-07-19T04:05:05.6887525Z 	at org.apache.hudi.table.format.TestInputFormat.testReadIncrementally(TestInputFormat.java:793)
      2023-07-19T04:05:05.6887803Z 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2023-07-19T04:05:05.6888065Z 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2023-07-19T04:05:05.6888363Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2023-07-19T04:05:05.6888638Z 	at java.lang.reflect.Method.invoke(Method.java:498)
      2023-07-19T04:05:05.6888910Z 	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688)
      2023-07-19T04:05:05.6889210Z 	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
      2023-07-19T04:05:05.6889575Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
      2023-07-19T04:05:05.6889936Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
      2023-07-19T04:05:05.6890523Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
      2023-07-19T04:05:05.6890875Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestTemplateMethod(TimeoutExtension.java:92)
      2023-07-19T04:05:05.6891262Z 	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
      2023-07-19T04:05:05.6891623Z 	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
      2023-07-19T04:05:05.6891996Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
      2023-07-19T04:05:05.6892429Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
      2023-07-19T04:05:05.6892794Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
      2023-07-19T04:05:05.6893144Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) 

      Attachments

        Activity

          People

            Unassigned Unassigned
            shivnarayan sivabalan narayanan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: