Henry Saputra created FLINK-2847: ------------------------------------ Summary: 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)