You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chengxiang Li (JIRA)" <ji...@apache.org> on 2015/08/24 11:41:45 UTC

[jira] [Commented] (FLINK-2564) Failing Test: RandomSamplerTest

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

Chengxiang Li commented on FLINK-2564:
--------------------------------------

As discussed in [here|https://github.com/apache/flink/pull/949#issuecomment-133990256], it's a balance between accurate verification and failure-positive result. As this failure and KS test failure happens more often than expected, we should expand the verification boundary which would reduce the fail-positive case to an acceptable level.

> Failing Test: RandomSamplerTest
> -------------------------------
>
>                 Key: FLINK-2564
>                 URL: https://issues.apache.org/jira/browse/FLINK-2564
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Matthias J. Sax
>            Assignee: Chengxiang Li
>              Labels: test-stability
>
> {noformat}
> Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.943 sec <<< FAILURE! - in org.apache.flink.api.java.sampling.	
> testPoissonSamplerFraction(org.apache.flink.api.java.sampling.RandomSamplerTest) Time elapsed: 0.017 sec <<< FAILURE!
> java.lang.AssertionError: expected fraction: 0.010000, result fraction: 0.011300
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.verifySamplerFraction(RandomSamplerTest.java:249)
> at org.apache.flink.api.java.sampling.RandomSamplerTest.testPoissonSamplerFraction(RandomSamplerTest.java:116)
> Results :
> Failed tests:
> Successfully installed excon-0.33.0
> RandomSamplerTest.testPoissonSamplerFraction:116->verifySamplerFraction:249 expected fraction: 0.010000, result fraction: 0.011300
> {noformat}
> Full log: https://travis-ci.org/apache/flink/jobs/76720572



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