You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2015/06/04 16:45:39 UTC

[jira] [Commented] (FLINK-2163) VertexCentricConfigurationITCase sometimes fails on Travis

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

Ufuk Celebi commented on FLINK-2163:
------------------------------------

I think I/O on Travis is unreliable. We could fix these problems by using collect() instead of writing to a file (and then comparing the file with the expected result). This will also result in more test exposure for the collect call ;) and we can be sure that the result is really off.

> VertexCentricConfigurationITCase sometimes fails on Travis
> ----------------------------------------------------------
>
>                 Key: FLINK-2163
>                 URL: https://issues.apache.org/jira/browse/FLINK-2163
>             Project: Flink
>          Issue Type: Bug
>          Components: Gelly
>            Reporter: Aljoscha Krettek
>
> This is the relevant output from the log:
> {code}
> testIterationINDirection[Execution mode = CLUSTER](org.apache.flink.graph.test.VertexCentricConfigurationITCase)  Time elapsed: 0.587 sec  <<< FAILURE!
> java.lang.AssertionError: Different number of lines in expected and obtained result. expected:<5> but was:<2>
> 	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:270)
> 	at org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory(TestBaseUtils.java:256)
> 	at org.apache.flink.graph.test.VertexCentricConfigurationITCase.after(VertexCentricConfigurationITCase.java:70)
> Results :
> Failed tests: 
>   VertexCentricConfigurationITCase.after:70->TestBaseUtils.compareResultsByLinesInMemory:256->TestBaseUtils.compareResultsByLinesInMemory:270 Different number of lines in expected and obtained result. expected:<5> but was:<2>
> {code}
> https://travis-ci.org/aljoscha/flink/jobs/65403502



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