[
https://issues.apache.org/jira/browse/MATH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles updated MATH-1407:
-------------------------
Description:
This unit test fails quite often.
Somehow, the instance of JDK's
[SecureRandom|https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html]
fails to meet the expectations of the unit test.
However the unit test does not actually test any functionality implemented in
Commons Math, only that the RNG is uniformly distributed.
So either the test is wrong (or perhaps more stringent than need be) or the RNG
being tested is indeed not uniformly distributed.
In both cases, it seems right to drop it.
was:
This unit test fails quite often.
Somehow, the instance of JDK's
[SecureRandom|https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html]
fails to meet the expectations of the unit test.
However unit test does not actually test any functionality implemented in
Commons Math, only that the RNG is uniformly distributed.
So either the test is wrong (or perhaps more stringent than need be) or the RNG
being tested is indeed not uniformly distributed.
In both cases, it seems right to drop it.
> Drop "RandomUtilsDataGeneratorJDKSecureRandomTest"
> --------------------------------------------------
>
> Key: MATH-1407
> URL: https://issues.apache.org/jira/browse/MATH-1407
> Project: Commons Math
> Issue Type: Task
> Reporter: Gilles
> Assignee: Gilles
> Priority: Trivial
> Labels: unit-test
> Fix For: 4.0
>
>
> This unit test fails quite often.
> Somehow, the instance of JDK's
> [SecureRandom|https://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html]
> fails to meet the expectations of the unit test.
> However the unit test does not actually test any functionality implemented in
> Commons Math, only that the RNG is uniformly distributed.
> So either the test is wrong (or perhaps more stringent than need be) or the
> RNG being tested is indeed not uniformly distributed.
> In both cases, it seems right to drop it.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)