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 2023/05/19 15:23:31 UTC

[camel] 02/02: camel-jpa: prevent long-running tests from hanging the build

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 e2f44a5731970523236aca22ad542ac6c603bbc4
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri May 19 17:22:20 2023 +0200

    camel-jpa: prevent long-running tests from hanging the build
---
 components/camel-jpa/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/components/camel-jpa/pom.xml b/components/camel-jpa/pom.xml
index 1b6777cd513..a80499953b2 100644
--- a/components/camel-jpa/pom.xml
+++ b/components/camel-jpa/pom.xml
@@ -144,9 +144,10 @@
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <argLine>-javaagent:${project.basedir}/target/openjpa-${openjpa-version}-jakarta.jar
+                    <argLine>-javaagent:${project.basedir}/target/openjpa-${openjpa-version}-jakarta.jar -Xmx3G
                         ${camel.surefire.fork.vmargs}
                     </argLine>
+                    <forkedProcessTimeoutInSeconds>240</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>
         </plugins>