Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.5.1
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
HDFS-6840 Clients are always sent to the same datanode when read is off rack
- Closed