apache / apache/hudi

Address flakiness of early conflict detection tests

Open
#15,807 1 comment 0 reactions 1 assignee Assigned to @yihua View on GitHub
area:tests from-jira priority:high status:pr-available type:improvement
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Error from CI
{code:java}
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) {code}

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-5831
- Type: Improvement
- Epic: https://issues.apache.org/jira/browse/HUDI-4302
- Fix version(s):
- 1.1.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.