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 aaeee02a363c6f266dca6d88ea8fe20240af84a3 Author: Benoit Tellier <[email protected]> AuthorDate: Fri Jan 29 10:35:28 2021 +0700 [TEST SPEED] Minimize configuration to optimize boot time 25% speedup on my laptop, which encourages me running the wall test suite more often (1 minute gained) --- .../src/test/resources/listeners.xml | 24 ---------- .../src/test/resources/mailetcontainer.xml | 53 ++-------------------- 2 files changed, 3 insertions(+), 74 deletions(-) diff --git a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/listeners.xml b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/listeners.xml index a1a139d..ddc4d9d 100644 --- a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/listeners.xml +++ b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/listeners.xml @@ -20,30 +20,6 @@ <listeners> <listener> - <class>org.apache.james.mailbox.quota.mailing.listeners.QuotaThresholdCrossingListener</class> - <group>QuotaThresholdCrossingListener-lower-threshold</group> - <configuration> - <thresholds> - <threshold> - <value>0.1</value> - </threshold> - </thresholds> - <name>first</name> - </configuration> - </listener> - <listener> - <class>org.apache.james.mailbox.quota.mailing.listeners.QuotaThresholdCrossingListener</class> - <group>QuotaThresholdCrossingListener-upper-threshold</group> - <configuration> - <thresholds> - <threshold> - <value>0.2</value> - </threshold> - </thresholds> - <name>second</name> - </configuration> - </listener> - <listener> <class>org.apache.james.jmap.event.PopulateEmailQueryViewListener</class> <async>true</async> </listener> diff --git a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/mailetcontainer.xml b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/mailetcontainer.xml index 47a6b82..d77c378 100644 --- a/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/mailetcontainer.xml +++ b/server/protocols/jmap-rfc-8621-integration-tests/memory-jmap-rfc-8621-integration-tests/src/test/resources/mailetcontainer.xml @@ -31,10 +31,7 @@ </spooler> <processors> - <processor state="root" enableJmx="false"> - <mailet match="All" class="PostmasterAlias"/> - <mailet match="RelayLimit=30" class="Null"/> <mailet match="All" class="ToProcessor"> <processor>transport</processor> </mailet> @@ -59,30 +56,15 @@ <mailet match="All" class="RemoveMimeHeader"> <name>bcc</name> </mailet> - <mailet match="All" class="ICSSanitizer"/> - <mailet match="All" class="org.apache.james.jmap.mailet.TextCalendarBodyToAttachment"/> <mailet match="All" class="RecipientRewriteTable"> - <errorProcessor>rrt-error</errorProcessor> + <errorProcessor>error</errorProcessor> </mailet> <mailet match="RecipientIsLocal" class="org.apache.james.jmap.mailet.VacationMailet"/> <mailet match="mdn-matcher" class="org.apache.james.jmap.mailet.ExtractMDNOriginalJMAPMessageId" > <onMailetException>ignore</onMailetException> </mailet> - <mailet match="RecipientIsLocal" class="Sieve"/> - <mailet match="RecipientIsLocal" class="SpamAssassin"> - <onMailetException>ignore</onMailetException> - <spamdHost>localhost</spamdHost> - <spamdPort>783</spamdPort> - </mailet> - <mailet match="IsMarkedAsSpam" class="WithStorageDirective"> - <targetFolderName>Spam</targetFolderName> - </mailet> <mailet match="RecipientIsLocal" class="org.apache.james.jmap.mailet.filter.JMAPFiltering"/> <mailet match="RecipientIsLocal" class="LocalDelivery"/> - <mailet match="HostIsLocal" class="ToProcessor"> - <processor>local-address-error</processor> - <notice>550 - Requested action not taken: no such user here</notice> - </mailet> <mailet match="relay-allowed" class="RemoteDelivery"> <outgoingQueue>outgoing</outgoingQueue> @@ -91,43 +73,14 @@ <maxDnsProblemRetries>0</maxDnsProblemRetries> <deliveryThreads>10</deliveryThreads> <sendpartial>true</sendpartial> - <bounceProcessor>bounces</bounceProcessor> + <bounceProcessor>error</bounceProcessor> </mailet> <mailet match="All" class="ToProcessor"> - <processor>relay-denied</processor> - </mailet> - </processor> - - <processor state="local-address-error" enableJmx="false"> - <mailet match="All" class="Bounce"> - <attachment>none</attachment> - </mailet> - </processor> - - <processor state="relay-denied" enableJmx="false"> - <mailet match="All" class="Bounce"> - <attachment>none</attachment> - </mailet> - </processor> - - <processor state="bounces" enableJmx="false"> - <mailet match="All" class="DSNBounce"> - <passThrough>false</passThrough> - </mailet> - </processor> - - <processor state="rrt-error" enableJmx="false"> - <mailet match="All" class="ToRepository"> - <repositoryPath>memory://var/mail/rrt-error/</repositoryPath> - <passThrough>true</passThrough> + <processor>error</processor> </mailet> - <mailet match="IsSenderInRRTLoop" class="Null"/> - <mailet match="All" class="Bounce"/> </processor> - </processors> - </mailetcontainer> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
