Andrew Wang created HADOOP-11107:
------------------------------------

             Summary: Improve tests to not rely on JDK random implementation
                 Key: HADOOP-11107
                 URL: https://issues.apache.org/jira/browse/HADOOP-11107
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 2.5.1
            Reporter: Andrew Wang


As [~daryn] points out on HDFS-6840, writing unit tests that depend on a 
certain random seed always generating the same numbers is somewhat brittle, 
since the JDK does not guarantee this as part of compatibility. It'd be good to 
improve our unit testing to be agnostic to the JDK random implementation, e.g. 
by providing our own mock random implementation, or through other methods of 
verification.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to