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:30 UTC

[camel] 01/02: camel-rxjava: 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 6e4d34927e00f13974297cfd3dc92b984acc2099
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri May 19 17:21:40 2023 +0200

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

diff --git a/components/camel-rxjava/pom.xml b/components/camel-rxjava/pom.xml
index c689d45eb6f..51be1e921af 100644
--- a/components/camel-rxjava/pom.xml
+++ b/components/camel-rxjava/pom.xml
@@ -73,4 +73,17 @@
         </dependency>
     </dependencies>
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <argLine>-Xmx2G ${camel.surefire.fork.vmargs}
+                    </argLine>
+                    <forkedProcessTimeoutInSeconds>120</forkedProcessTimeoutInSeconds>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>