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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
