You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/12/07 08:14:33 UTC

[06/17] git commit: updated refs/heads/master to f30fbe9

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

(cherry picked from commit 421bc00cd6005d9e8484c6df46a3b84ff466afd2)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


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

Branch: refs/heads/master
Commit: dcc66651c0a5f53fcd9395139dad147b4ac1ea09
Parents: 9a21873
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Fri Dec 4 13:47:03 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Fri Dec 4 13:51:36 2015 +0530

----------------------------------------------------------------------
 plugins/api/rate-limit/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/dcc66651/plugins/api/rate-limit/pom.xml
----------------------------------------------------------------------
diff --git a/plugins/api/rate-limit/pom.xml b/plugins/api/rate-limit/pom.xml
index 43e0848..faa73c3 100644
--- a/plugins/api/rate-limit/pom.xml
+++ b/plugins/api/rate-limit/pom.xml
@@ -32,7 +32,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <argLine>-Xmx1024m</argLine>
+          <forkMode>always</forkMode>
+          <argLine>-Xmx2048m -XX:MaxPermSize=1024m</argLine>
           <excludes>
             <exclude>org/apache/cloudstack/ratelimit/integration/*</exclude>
           </excludes>