You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2023/05/07 06:12:07 UTC

[james-project] branch master updated: [BUILD] Disable graceful shutdown in tests (#1552)

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


The following commit(s) were added to refs/heads/master by this push:
     new a9a659fb75 [BUILD] Disable graceful shutdown in tests (#1552)
a9a659fb75 is described below

commit a9a659fb75cabe189044f020c4a498660d332da6
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Sun May 7 13:11:59 2023 +0700

    [BUILD] Disable graceful shutdown in tests (#1552)
---
 examples/custom-imap/src/main/resources/imapserver.xml                  | 2 ++
 server/protocols/protocols-imap4/src/test/resources/imapSSL.xml         | 1 +
 .../protocols/protocols-imap4/src/test/resources/imapServerCompress.xml | 1 +
 server/protocols/protocols-imap4/src/test/resources/imapServerSSL.xml   | 1 +
 .../protocols-imap4/src/test/resources/imapServerSSLCompress.xml        | 1 +
 .../memory-webadmin-integration-test/src/test/resources/imapserver.xml  | 2 ++
 6 files changed, 8 insertions(+)

diff --git a/examples/custom-imap/src/main/resources/imapserver.xml b/examples/custom-imap/src/main/resources/imapserver.xml
index f52a9d1b12..8971ea8d03 100644
--- a/examples/custom-imap/src/main/resources/imapserver.xml
+++ b/examples/custom-imap/src/main/resources/imapserver.xml
@@ -35,6 +35,7 @@ under the License.
         <gracefulShutdown>false</gracefulShutdown>
         <customProperties>pong.response=customImapParameter</customProperties>
         <customProperties>prop.b=anotherValue</customProperties>
+        <gracefulShutdown>false</gracefulShutdown>
     </imapserver>
     <imapserver enabled="true">
         <jmxName>imapservers</jmxName>
@@ -51,6 +52,7 @@ under the License.
         <gracefulShutdown>false</gracefulShutdown>
         <customProperties>pong.response=bad</customProperties>
         <customProperties>prop.b=baad</customProperties>
+        <gracefulShutdown>false</gracefulShutdown>
     </imapserver>
     <imapPackages>org.apache.james.modules.protocols.DefaultImapPackage</imapPackages>
     <imapPackages>org.apache.james.examples.imap.PingImapPackages</imapPackages>
diff --git a/server/protocols/protocols-imap4/src/test/resources/imapSSL.xml b/server/protocols/protocols-imap4/src/test/resources/imapSSL.xml
index 032d895ec0..3c773ba83b 100644
--- a/server/protocols/protocols-imap4/src/test/resources/imapSSL.xml
+++ b/server/protocols/protocols-imap4/src/test/resources/imapSSL.xml
@@ -10,4 +10,5 @@
         <plainAuthEnabled>true</plainAuthEnabled>
         <requireSSL>true</requireSSL>
     </auth>
+    <gracefulShutdown>false</gracefulShutdown>
 </imapserver>
\ No newline at end of file
diff --git a/server/protocols/protocols-imap4/src/test/resources/imapServerCompress.xml b/server/protocols/protocols-imap4/src/test/resources/imapServerCompress.xml
index ff5459dbd0..070009bde8 100644
--- a/server/protocols/protocols-imap4/src/test/resources/imapServerCompress.xml
+++ b/server/protocols/protocols-imap4/src/test/resources/imapServerCompress.xml
@@ -11,4 +11,5 @@
     <enableIdle>true</enableIdle>
     <inMemorySizeLimit>65536</inMemorySizeLimit> <!-- 64 KB -->
     <plainAuthDisallowed>false</plainAuthDisallowed>
+    <gracefulShutdown>false</gracefulShutdown>
 </imapserver>
\ No newline at end of file
diff --git a/server/protocols/protocols-imap4/src/test/resources/imapServerSSL.xml b/server/protocols/protocols-imap4/src/test/resources/imapServerSSL.xml
index b7cde6cc79..e08fd59a23 100644
--- a/server/protocols/protocols-imap4/src/test/resources/imapServerSSL.xml
+++ b/server/protocols/protocols-imap4/src/test/resources/imapServerSSL.xml
@@ -17,4 +17,5 @@
     <inMemorySizeLimit>64K</inMemorySizeLimit>
     <literalSizeLimit>128K</literalSizeLimit>
     <plainAuthDisallowed>false</plainAuthDisallowed>
+    <gracefulShutdown>false</gracefulShutdown>
 </imapserver>
\ No newline at end of file
diff --git a/server/protocols/protocols-imap4/src/test/resources/imapServerSSLCompress.xml b/server/protocols/protocols-imap4/src/test/resources/imapServerSSLCompress.xml
index c8bac4f92f..eb4fe1cd5c 100644
--- a/server/protocols/protocols-imap4/src/test/resources/imapServerSSLCompress.xml
+++ b/server/protocols/protocols-imap4/src/test/resources/imapServerSSLCompress.xml
@@ -17,4 +17,5 @@
     <literalSizeLimit>128K</literalSizeLimit>
     <plainAuthDisallowed>false</plainAuthDisallowed>
     <compress>true</compress>
+    <gracefulShutdown>false</gracefulShutdown>
 </imapserver>
\ No newline at end of file
diff --git a/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/src/test/resources/imapserver.xml b/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/src/test/resources/imapserver.xml
index 9f2901f42b..ec86ad6ed7 100644
--- a/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/src/test/resources/imapserver.xml
+++ b/server/protocols/webadmin-integration-test/memory-webadmin-integration-test/src/test/resources/imapserver.xml
@@ -36,6 +36,7 @@ under the License.
         <connectionLimit>0</connectionLimit>
         <connectionLimitPerIP>0</connectionLimitPerIP>
         <plainAuthDisallowed>false</plainAuthDisallowed>
+        <gracefulShutdown>false</gracefulShutdown>
     </imapserver>
     <imapserver enabled="true">
         <jmxName>imapserver-ssl</jmxName>
@@ -51,5 +52,6 @@ under the License.
         </tls>
         <connectionLimit>0</connectionLimit>
         <connectionLimitPerIP>0</connectionLimitPerIP>
+        <gracefulShutdown>false</gracefulShutdown>
     </imapserver>
 </imapservers>


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