cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject cassandra git commit: Get entropy from /dev/urandom for unit tests
Date Tue, 28 Jul 2015 15:09:19 GMT
Repository: cassandra
Updated Branches:
  refs/heads/cassandra-2.2 fcb5bd67d -> ae179e453


Get entropy from /dev/urandom for unit tests

patch by Ariel Weisberg; reviewed by Aleksey Yeschenko for
CASSANDRA-9581


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ae179e45
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ae179e45
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ae179e45

Branch: refs/heads/cassandra-2.2
Commit: ae179e45327a133248c06019f87615c9cf69f643
Parents: fcb5bd6
Author: Ariel Weisberg <ariel@weisberg.ws>
Authored: Thu Jun 11 11:49:59 2015 -0400
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Tue Jul 28 18:03:46 2015 +0300

----------------------------------------------------------------------
 build.xml | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ae179e45/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 9de6ab1..8d5c827 100644
--- a/build.xml
+++ b/build.xml
@@ -1198,6 +1198,8 @@
 	    <jvmarg value="-Dcassandra.test.offsetseed=@{poffset}"/>
         <jvmarg value="-Dcassandra.test.sstableformatdevelopment=true"/>
         <jvmarg value="-Dcassandra.testtag=@{testtag}"/>
+        <!-- The first time SecureRandom initializes can be slow if it blocks on /dev/random
-->
+        <jvmarg value="-Djava.security.egd=file:/dev/urandom" />
 	<optjvmargs/>
         <classpath>
           <path refid="cassandra.classpath" />


Mime
View raw message