[ 
https://issues.apache.org/jira/browse/FLINK-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547670#comment-14547670
 ] 

Stephan Ewen commented on FLINK-2020:
-------------------------------------

This may be a sporadic temp fie failure. I have seen that before also for other 
tests.

What I do not understand is why people still write tests with temp files. I 
think all new tests should use {{collect()}}.

> Table API JoinITCase fails non-deterministically
> ------------------------------------------------
>
>                 Key: FLINK-2020
>                 URL: https://issues.apache.org/jira/browse/FLINK-2020
>             Project: Flink
>          Issue Type: Bug
>          Components: Java API, Table API
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>
> I observed the following failing test case in one of my Travis builds.
> {code}
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.526 sec 
> <<< FAILURE! - in org.apache.flink.api.scala.table.test.JoinITCase
> testJoinWithMultipleKeys[Execution mode = 
> CLUSTER](org.apache.flink.api.scala.table.test.JoinITCase)  Time elapsed: 
> 0.265 sec  <<< FAILURE!
> java.lang.AssertionError: Different number of lines in expected and obtained 
> result. expected:<6> but was:<5>
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.failNotEquals(Assert.java:743)
>       at org.junit.Assert.assertEquals(Assert.java:118)
>       at org.junit.Assert.assertEquals(Assert.java:555)
>       at 
> org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory(TestBaseUtils.java:258)
>       at 
> org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory(TestBaseUtils.java:244)
>       at 
> org.apache.flink.api.scala.table.test.JoinITCase.after(JoinITCase.scala:49)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to