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

Gilles commented on MATH-1404:
------------------------------

This test can fail with probability 0.01 even if the distribution of the random 
numbers is uniform.

If you run the test several times, you should get successes and failures that 
are not correlated to the local settings.


> Test failure which occur with LC_ALL=en_US.UTF8, but not with 
> LC_ALL=de_DE.UTF-8
> --------------------------------------------------------------------------------
>
>                 Key: MATH-1404
>                 URL: https://issues.apache.org/jira/browse/MATH-1404
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Karl Richter
>
>  Specifying `LC_ALL=en_US.UTF-8` causes test failures like 
> `RandomUtilsDataGeneratorJDKSecureRandomTest>RandomUtilsDataGeneratorAbstractTest.testNextLongNegativeRange:99->RandomUtilsDataGeneratorAbstractTest.checkNextLongUniform:130
>  Chisquare test failed p-value = 0.0082266579945659 chisquare statistic = 
> 25.304000000000006.` which don't seem to occur with `LC_ALL=de_DE.UTF-8`, see 
> https://travis-ci.org/krichter722/commons-math/jobs/205896548 for details



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to