server: give more memory to tests

Increases allowed max and permgen memory flags to maven-surefire plugins.
This fixes unit test failures in cloud-server.

Signed-off-by: Rohit Yadav <[email protected]>
(cherry picked from commit fd7273b446738c0ebfae84189502dbdcd18bfd42)
Signed-off-by: Rohit Yadav <[email protected]>


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

Branch: refs/heads/4.9-bountycastle-daan
Commit: e5750b3331d2d970aad569b8cbcbcaee3e9951ea
Parents: de041df
Author: Rohit Yadav <[email protected]>
Authored: Thu Aug 4 15:31:51 2016 +0530
Committer: Rohit Yadav <[email protected]>
Committed: Thu Aug 4 15:52:29 2016 +0530

----------------------------------------------------------------------
 server/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e5750b33/server/pom.xml
----------------------------------------------------------------------
diff --git a/server/pom.xml b/server/pom.xml
index d8833f2..dbd3e62 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 -Djava.security.egd=file:/dev/./urandom</argLine>
+          <argLine>-Xmx2048m -XX:MaxPermSize=512m 
-Djava.security.egd=file:/dev/./urandom</argLine>
           <excludes>
             <exclude>%regex[.*[0-9]*To[0-9]*.*Test.*]</exclude>
             <exclude>com/cloud/upgrade/AdvanceZone223To224UpgradeTest</exclude>

Reply via email to