james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [james-project] 03/05: JAMES-2717 Fasten ElasticSearch backend tests by reusing forks
Date Fri, 07 Jun 2019 02:40:17 GMT
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 9fc36dbbf3ba7be37d01eddfeb8baaa4e699aff0
Author: Benoit Tellier <btellier@linagora.com>
AuthorDate: Thu Jun 6 15:20:49 2019 +0700

    JAMES-2717 Fasten ElasticSearch backend tests by reusing forks
    
    Init of the docker engine is done 5 times, as well as starting the
    ElasticSearch singleton. Re-using forks allows doing this only once using
    mvn to run tests.
---
 backends-common/elasticsearch/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/backends-common/elasticsearch/pom.xml b/backends-common/elasticsearch/pom.xml
index 34c99af..7f92990 100644
--- a/backends-common/elasticsearch/pom.xml
+++ b/backends-common/elasticsearch/pom.xml
@@ -99,4 +99,16 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <reuseForks>true</reuseForks>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>
\ No newline at end of file


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


Mime
View raw message