Skip to content

Commit

Permalink
fix: fix the oom of mvn test
Browse files Browse the repository at this point in the history
Signed-off-by: wangxye <[email protected]>
  • Loading branch information
wangxye committed Nov 8, 2023
1 parent 114855d commit f6875ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion java/e2e-v4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
<groupId>com.automq.rocketmq</groupId>
<artifactId>rocketmq-cli</artifactId>
<version>5.1.3-automq-0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-client-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.awaitility</groupId>
Expand Down Expand Up @@ -176,7 +182,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<argLine>-Xmx1024m</argLine>
<argLine>-Xms1024m -Xmx1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m</argLine>
<rerunFailingTestsCount>1</rerunFailingTestsCount>
<trimStackTrace>false</trimStackTrace>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion java/e2e/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
<skipAfterFailureCount>1</skipAfterFailureCount>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<argLine>-Xmx1024m -XX:MaxMetaspaceSize=256m</argLine>
<argLine>-Xms1024m -Xmx1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m</argLine>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
Expand Down

0 comments on commit f6875ea

Please sign in to comment.