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 e67161de12656a99c6597f8c52b300efd1a15541 Author: Gautier DI FOLCO <gdifo...@linagora.com> AuthorDate: Mon Jul 8 15:25:17 2019 +0200 JAMES-2726 Use MemoryMailRepository for Integration tests --- .../src/test/resources/mailetcontainer.xml | 2 +- .../src/test/resources/mailrepositorystore.xml | 8 -------- .../src/test/resources/mailrepositorystore.xml | 6 ------ 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailetcontainer.xml b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailetcontainer.xml index 8201e60..20ed027 100644 --- a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailetcontainer.xml +++ b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailetcontainer.xml @@ -116,7 +116,7 @@ <processor state="rrt-error" enableJmx="false"> <mailet match="All" class="ToRepository"> - <repositoryPath>file://var/mail/rrt-error/</repositoryPath> + <repositoryPath>memory://var/mail/rrt-error/</repositoryPath> <passThrough>true</passThrough> </mailet> <mailet match="IsSenderInRRTLoop" class="Null"/> diff --git a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailrepositorystore.xml b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailrepositorystore.xml index 9dcd6bb..ed3e003 100644 --- a/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailrepositorystore.xml +++ b/server/protocols/jmap-draft-integration-testing/memory-jmap-draft-integration-testing/src/test/resources/mailrepositorystore.xml @@ -21,14 +21,6 @@ <mailrepositorystore> <mailrepositories> - <mailrepository class="org.apache.james.mailrepository.file.FileMailRepository"> - <protocols> - <protocol>file</protocol> - </protocols> - <config FIFO="false" CACHEKEYS="true"/> - </mailrepository> - </mailrepositories> - <mailrepositories> <mailrepository class="org.apache.james.mailrepository.memory.MemoryMailRepository"> <protocols> <protocol>memory</protocol> diff --git a/server/protocols/webadmin-integration-test/src/test/resources/mailrepositorystore.xml b/server/protocols/webadmin-integration-test/src/test/resources/mailrepositorystore.xml index 3386c33..626e0a2 100644 --- a/server/protocols/webadmin-integration-test/src/test/resources/mailrepositorystore.xml +++ b/server/protocols/webadmin-integration-test/src/test/resources/mailrepositorystore.xml @@ -21,12 +21,6 @@ <mailrepositorystore> <mailrepositories> - <mailrepository class="org.apache.james.mailrepository.file.FileMailRepository"> - <protocols> - <protocol>file</protocol> - </protocols> - <config FIFO="false" CACHEKEYS="true"/> - </mailrepository> <mailrepository class="org.apache.james.mailrepository.cassandra.CassandraMailRepository"> <protocols> <protocol>cassandra</protocol> --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org