mirror of https://github.com/apache/cloudstack.git
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 <rohit.yadav@shapeblue.com>
This commit is contained in:
commit
67a67ff549
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue