From 421bc00cd6005d9e8484c6df46a3b84ff466afd2 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Fri, 4 Dec 2015 13:47:03 +0530 Subject: [PATCH] rate-limit: increase JVM memory and enable fork mode for unit tests Enables forkmode for surefire plugin and increases memory opts for JVM for rate-limit tests. This tries to fix intermittent Jenkins failures which look like: multipleClientsCanAccessWithoutBlocking(org.apache.cloudstack.ratelimit.ApiRateLimitTest): unable to create new native thread Signed-off-by: Rohit Yadav --- plugins/api/rate-limit/pom.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/api/rate-limit/pom.xml b/plugins/api/rate-limit/pom.xml index 7f2f3fa8454..b5ccb1a44eb 100644 --- a/plugins/api/rate-limit/pom.xml +++ b/plugins/api/rate-limit/pom.xml @@ -32,7 +32,8 @@ org.apache.maven.plugins maven-surefire-plugin - -Xmx1024m + always + -Xmx2048m -XX:MaxPermSize=1024m org/apache/cloudstack/ratelimit/integration/*