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]> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fd7273b4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fd7273b4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fd7273b4 Branch: refs/heads/4.9-bountycastle-daan Commit: fd7273b446738c0ebfae84189502dbdcd18bfd42 Parents: 546a3f8 Author: Rohit Yadav <[email protected]> Authored: Thu Aug 4 15:31:51 2016 +0530 Committer: Rohit Yadav <[email protected]> Committed: Thu Aug 4 15:31:51 2016 +0530 ---------------------------------------------------------------------- server/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fd7273b4/server/pom.xml ---------------------------------------------------------------------- diff --git a/server/pom.xml b/server/pom.xml index 3edfedd..988a96f 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -180,7 +180,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>
