You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Henry Saputra (JIRA)" <ji...@apache.org> on 2015/10/10 01:36:05 UTC

[jira] [Commented] (FLINK-2847) Fix flaky test in StormTestBase.testJob

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

Henry Saputra commented on FLINK-2847:
--------------------------------------

The PR that trigger the test fail just updating the Javadoc.

> Fix flaky test in StormTestBase.testJob
> ---------------------------------------
>
>                 Key: FLINK-2847
>                 URL: https://issues.apache.org/jira/browse/FLINK-2847
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Henry Saputra
>            Priority: Minor
>
> {code}
> testJob(org.apache.flink.storm.wordcount.WordCountLocalITCase)  Time elapsed: 12.845 sec  <<< FAILURE!
> java.lang.AssertionError: Different number of lines in expected and obtained result. expected:<801> but was:<0>
> 	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:305)
> 	at org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory(TestBaseUtils.java:291)
> 	at org.apache.flink.storm.wordcount.WordCountLocalITCase.postSubmit(WordCountLocalITCase.java:38)
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.815 sec - in org.apache.flink.storm.wordcount.BoltTokenizerWordCountWithNamesITCase
> Running org.apache.flink.storm.wordcount.BoltTokenizerWordCountITCase
> Running org.apache.flink.storm.wordcount.BoltTokenizerWordCountPojoITCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.55 sec - in org.apache.flink.storm.wordcount.BoltTokenizerWordCountPojoITCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.801 sec - in org.apache.flink.storm.wordcount.BoltTokenizerWordCountITCase
> Results :
> Failed tests: 
>   WordCountLocalITCase>StormTestBase.testJob:98->postSubmit:38->TestBaseUtils.compareResultsByLinesInMemory:291->TestBaseUtils.compareResultsByLinesInMemory:305 Different number of lines in expected and obtained result. expected:<801> but was:<0>
> Tests run: 11, Failures: 1, Errors: 0, Skipped: 0
> {code}



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