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 06:13:48 UTC

[1/2] git commit: updated refs/heads/4.5 to 67a67ff

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 0a8e43b50 -> 67a67ff54


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 <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/421bc00c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/421bc00c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/421bc00c

Branch: refs/heads/4.5
Commit: 421bc00cd6005d9e8484c6df46a3b84ff466afd2
Parents: 0a8e43b
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:50:48 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/421bc00c/plugins/api/rate-limit/pom.xml
----------------------------------------------------------------------
diff --git a/plugins/api/rate-limit/pom.xml b/plugins/api/rate-limit/pom.xml
index 7f2f3fa..b5ccb1a 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>


[2/2] git commit: updated refs/heads/4.5 to 67a67ff

Posted by bh...@apache.org.
Merge pull request #1170 from shapeblue/4.5-rate-limit-testfix

[4.5] rate-limit: increase JVM memory and enable fork mode for unit testsEnables 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

* pr/1170:
  rate-limit: increase JVM memory and enable fork mode for unit tests

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/67a67ff5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/67a67ff5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/67a67ff5

Branch: refs/heads/4.5
Commit: 67a67ff5497c3dc335bb136e5df0500a816663eb
Parents: 0a8e43b 421bc00
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Mon Dec 7 10:43:21 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Dec 7 10:43:21 2015 +0530

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