This is an automated email from the ASF dual-hosted git repository. rcordier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 9d0d62d2580e4bb406909090add14af8e4721f02 Author: Quan Tran <hqt...@linagora.com> AuthorDate: Fri Nov 8 12:06:16 2024 +0700 JAMES-4087 Test: move composite matchers to a dedicated test processor As it effected flow of a few tests in memory-app. --- server/apps/memory-app/src/test/resources/mailetcontainer.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/apps/memory-app/src/test/resources/mailetcontainer.xml b/server/apps/memory-app/src/test/resources/mailetcontainer.xml index 2c7ef83832..af23d57e94 100644 --- a/server/apps/memory-app/src/test/resources/mailetcontainer.xml +++ b/server/apps/memory-app/src/test/resources/mailetcontainer.xml @@ -52,8 +52,8 @@ </mailet> </processor> - - <processor state="transport" enableJmx="false"> + <!-- Dummy processor to test chaining composite matchers--> + <processor state="dummy" enableJmx="false"> <matcher name="relay-allowed" match="org.apache.james.mailetcontainer.impl.matchers.Or"> <matcher match="SMTPAuthSuccessful"/> <matcher match="SMTPIsAuthNetwork"/> @@ -67,6 +67,9 @@ <matcher notmatch="relay-allowed"/> </matcher> <mailet notmatch="chaining-not-matcher" class="org.apache.james.transport.mailets.debug.Counter"/> + </processor> + + <processor state="transport" enableJmx="false"> <mailet match="SMTPAuthSuccessful" class="SetMimeHeader"> <name>X-UserIsAuth</name> <value>true</value> --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org