You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ek...@apache.org on 2015/06/08 11:45:27 UTC

[06/50] [abbrv] git commit: updated refs/heads/feature/vpc-ipv6 to 6140db5

Change tests random number generator to /dev/urandom
This fixes a big performance issue with random number generation with more recent kernels and java versions in linux


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

Branch: refs/heads/feature/vpc-ipv6
Commit: 82847d4405f20920a1ca066765071d485931ff19
Parents: 900b656
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Fri May 29 20:24:41 2015 +0200
Committer: Rafael da Fonseca <rs...@gmail.com>
Committed: Fri May 29 20:24:41 2015 +0200

----------------------------------------------------------------------
 pom.xml        | 3 +++
 server/pom.xml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/82847d44/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 47dc2cd..0af7062 100644
--- a/pom.xml
+++ b/pom.xml
@@ -963,6 +963,9 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-failsafe-plugin</artifactId>
           <version>2.18.1</version>
+          <configuration>
+              <argLine>-Djava.security.egd=file:/dev/./urandom</argLine>
+          </configuration>
         </plugin>
       </plugins>
     </pluginManagement>

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/82847d44/server/pom.xml
----------------------------------------------------------------------
diff --git a/server/pom.xml b/server/pom.xml
index 504bedc..e68e678 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -174,7 +174,7 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <argLine>-Xmx1024m</argLine>
+          <argLine>-Xmx1024m -Djava.security.egd=file:/dev/./urandom</argLine>
           <excludes>
             <exclude>%regex[.*[0-9]*To[0-9]*.*Test.*]</exclude>
             <exclude>com/cloud/upgrade/AdvanceZone223To224UpgradeTest</exclude>