commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MATH-1407) Drop "RandomUtilsDataGeneratorJDKSecureRandomTest"
Date Tue, 04 Apr 2017 11:51:41 GMT

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

Mime
View raw message