mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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 <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
9a21873c4a
commit
dcc66651c0
@ -32,7 +32,8 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<argLine>-Xmx1024m</argLine>
|
<forkMode>always</forkMode>
|
||||||
|
<argLine>-Xmx2048m -XX:MaxPermSize=1024m</argLine>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>org/apache/cloudstack/ratelimit/integration/*</exclude>
|
<exclude>org/apache/cloudstack/ratelimit/integration/*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user