Zhuoluo Yang created FLINK-6040:
-----------------------------------
Summary: DataStreamUserDefinedFunctionITCase occasionally fails
Key: FLINK-6040
URL:
https://issues.apache.org/jira/browse/FLINK-6040 Project: Flink
Issue Type: Bug
Reporter: Zhuoluo Yang
Assignee: Zhuoluo Yang
Priority: Trivial
Three test cases in DataStreamUserDefinedFunctionITCase forgot to call the StreamITCase.clear method. This will cause it occasionally fails. Because the result of one case may affect another sometimes.
{code}
java.lang.AssertionError:
Expected :MutableList(Anna#44,1, Anna#44,2, Anna#44,Anna#44, Jack#22,1, Jack#22,2, Jack#22,Jack#22, John#19,1, John#19,2, John#19,John#19, nosharp,1, nosharp,2, nosharp,nosharp)
Actual :MutableList(Anna#44,1, Anna#44,2, Anna#44,Anna#44, Jack#22,1, Jack#22,2, Jack#22,Jack#22, John#19,1, John#19,2, John#19,John#19, Miller,13.56, Smith,180.2, Williams,4.68, Williams,69.0, nosharp,1, nosharp,2, nosharp,nosharp)
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.apache.flink.table.runtime.datastream.DataStreamUserDefinedFunctionITCase.testTableFunctionWithVariableArguments(DataStreamUserDefinedFunctionITCase.scala:226)
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)