You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2020/07/31 09:24:23 UTC

[james-project] 02/28: JAMES-3350 Decrease forkedProcessTimeoutInSeconds as this avoids waiting needlessly for 2 hours

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 3bfa0e2b58992cc1a99857a0abf834cbe60e097c
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Mon Jul 27 09:14:35 2020 +0700

    JAMES-3350 Decrease forkedProcessTimeoutInSeconds as this avoids waiting needlessly for 2 hours
---
 pom.xml                                                               | 4 ++--
 server/blob/blob-memory/pom.xml                                       | 2 +-
 .../cassandra-jmap-draft-integration-testing/pom.xml                  | 4 ++--
 .../rabbitmq-jmap-draft-integration-testing/pom.xml                   | 4 ++--
 .../distributed-jmap-rfc-8621-integration-tests/pom.xml               | 4 ++--
 .../distributed-webadmin-integration-test/pom.xml                     | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/pom.xml b/pom.xml
index b692eb8..75851f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3010,8 +3010,8 @@
                     <configuration>
                         <argLine>-Xms512m -Xmx1024m</argLine>
                         <reuseForks>true</reuseForks>
-                        <!-- Fail tests longer than 2 hours, prevent form random locking tests -->
-                        <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                        <!-- Fail tests longer than 20 minutes, prevent form random locking tests -->
+                        <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                     </configuration>
                 </plugin>
                 <plugin>
diff --git a/server/blob/blob-memory/pom.xml b/server/blob/blob-memory/pom.xml
index 80e6f6a..cb002cb 100644
--- a/server/blob/blob-memory/pom.xml
+++ b/server/blob/blob-memory/pom.xml
@@ -88,7 +88,7 @@
                 <configuration>
                     <argLine>-Xms1024m -Xmx2048m</argLine>
                     <reuseForks>true</reuseForks>
-                    <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                    <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/pom.xml b/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/pom.xml
index ae3d02d..5b3bfc1 100644
--- a/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/pom.xml
+++ b/server/protocols/jmap-draft-integration-testing/cassandra-jmap-draft-integration-testing/pom.xml
@@ -228,8 +228,8 @@
                 <configuration>
                     <argLine>-Xms512m -Xmx1024m</argLine>
                     <reuseForks>true</reuseForks>
-                    <!-- Fail tests longer than 2 hours, prevent form random locking tests -->
-                    <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                    <!-- Fail tests longer than 20 minutes, prevent form random locking tests -->
+                    <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                     <groups combine.self="override">org.apache.james.jmap.categories.CassandraAndElasticSearchCategory,org.apache.james.junit.categories.BasicFeature,org.apache.james.jmap.categories.EnableCucumber</groups>
                 </configuration>
             </plugin>
diff --git a/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/pom.xml b/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/pom.xml
index 4260711..3098f81 100644
--- a/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/pom.xml
+++ b/server/protocols/jmap-draft-integration-testing/rabbitmq-jmap-draft-integration-testing/pom.xml
@@ -176,8 +176,8 @@
                 <configuration>
                     <argLine>-Xms512m -Xmx1024m</argLine>
                     <reuseForks>true</reuseForks>
-                    <!-- Fail tests longer than 2 hours, prevent form random locking tests -->
-                    <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                    <!-- Fail tests longer than 20 minutes, prevent form random locking tests -->
+                    <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                     <groups combine.self="override">org.apache.james.junit.categories.BasicFeature,org.apache.james.jmap.categories.EnableCucumber</groups>
                 </configuration>
             </plugin>
diff --git a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/pom.xml b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/pom.xml
index 5906025..0e79ba2 100644
--- a/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/pom.xml
+++ b/server/protocols/jmap-rfc-8621-integration-tests/distributed-jmap-rfc-8621-integration-tests/pom.xml
@@ -124,8 +124,8 @@
                 <configuration>
                     <argLine>-Xms512m -Xmx1024m</argLine>
                     <reuseForks>true</reuseForks>
-                    <!-- Fail tests longer than 2 hours, prevent form random locking tests -->
-                    <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                    <!-- Fail tests longer than 20 minutes, prevent form random locking tests -->
+                    <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                     <!-- Junit 5 move from Category to Tag, and it need tag's name as parameter -->
                     <groups combine.self="override">BasicFeature</groups>
                     <properties>
diff --git a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/pom.xml b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/pom.xml
index e97dcbe..6904304 100644
--- a/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/pom.xml
+++ b/server/protocols/webadmin-integration-test/distributed-webadmin-integration-test/pom.xml
@@ -99,8 +99,8 @@
                 <configuration>
                     <argLine>-Xms512m -Xmx1024m</argLine>
                     <reuseForks>true</reuseForks>
-                    <!-- Fail tests longer than 2 hours, prevent form random locking tests -->
-                    <forkedProcessTimeoutInSeconds>7200</forkedProcessTimeoutInSeconds>
+                    <!-- Fail tests longer than 20 minutes, prevent form random locking tests -->
+                    <forkedProcessTimeoutInSeconds>1200</forkedProcessTimeoutInSeconds>
                     <groups combine.self="override">BasicFeature</groups>
                 </configuration>
             </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org