浏览代码

HDFS-2046. Force entropy to come from non-true random for tests. Contributed by Todd Lipcon.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1135329 13f79535-47bb-0310-9956-ffa450edef68
Todd Lipcon 14 年之前
父节点
当前提交
b1b631516e
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      hdfs/CHANGES.txt
  2. 1 0
      hdfs/build.xml

+ 2 - 0
hdfs/CHANGES.txt

@@ -506,6 +506,8 @@ Trunk (unreleased changes)
     HADOOP-7106. Reorganize project SVN layout to "unsplit" the projects.
     (todd, nigel)
 
+    HDFS-2046. Force entropy to come from non-true random for tests. (todd)
+
   OPTIMIZATIONS
 
     HDFS-1458. Improve checkpoint performance by avoiding unnecessary image

+ 1 - 0
hdfs/build.xml

@@ -648,6 +648,7 @@
         <sysproperty key="java.security.krb5.conf" value="${test.src.dir}/krb5.conf"/>
         <sysproperty key="hadoop.policy.file" value="hadoop-policy.xml"/>
         <sysproperty key="hdfs.rpc.engine" value="${test.hdfs.rpc.engine}"/>
+        <sysproperty key="java.security.egd" value="file:///dev/urandom" />
         <classpath refid="@{classpath}"/>
         <!-- Pass probability specifications to the spawn JVM -->
         <syspropertyset id="FaultProbabilityProperties">