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

ASF GitHub Bot commented on FLINK-2564:
---------------------------------------

Github user ChengXiangLi commented on the pull request:

    https://github.com/apache/flink/pull/1047#issuecomment-134138815
  
    @chiwanpark , it may need thousands of times' execution to verify, as the 
failure possibility is quite low. Besides, how many times do you increased 
count of sources and count of samples, the tests of reservoir samplers are 
executed on seconds level, so be careful about the unit test cost as well. 


> 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)

Reply via email to