commons-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/MATH-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gilles resolved MATH-1407.
--------------------------
    Resolution: Fixed

Unit test class deleted in commit b645f5d085f121ae82e480491a58a8d7753a34d0 in "master" branch.

> 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