You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/24 18:40:07 UTC

[camel] 01/02: (chores) camel-aws2-kms: adjust memory settings and JVM behavior for the tests

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 1cf70d71164f71ae5b1c990c14ae448ab1627332
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Oct 24 10:29:22 2022 +0200

    (chores) camel-aws2-kms: adjust memory settings and JVM behavior for the tests
---
 components/camel-aws/camel-aws2-kms/pom.xml | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws2-kms/pom.xml b/components/camel-aws/camel-aws2-kms/pom.xml
index f93ca0b51a6..db268b1f3d7 100644
--- a/components/camel-aws/camel-aws2-kms/pom.xml
+++ b/components/camel-aws/camel-aws2-kms/pom.xml
@@ -17,7 +17,8 @@
     limitations under the License.
 
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -33,6 +34,7 @@
     <description>A Camel Amazon KMS Web Service Component Version 2</description>
 
     <properties>
+        <camel.surefire.forkTimeout>1200</camel.surefire.forkTimeout>
     </properties>
 
     <dependencies>
@@ -77,4 +79,16 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                <argLine>${camel.surefire.fork.vmargs} -XX:+ExitOnOutOfMemoryError -Xmx2G</argLine>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>