Repository: incubator-sentry Updated Branches: refs/heads/master 422a17551 -> 8a7b62194
SENTRY-979: Speed up the build by avoiding a fork for every test (Colm O hEigeartaigh via Lenni Kuff) Change-Id: I4428c753cd7fa2b6c8714f5a754b890a3ac530da Project: http://git-wip-us.apache.org/repos/asf/incubator-sentry/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sentry/commit/8a7b6219 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sentry/tree/8a7b6219 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sentry/diff/8a7b6219 Branch: refs/heads/master Commit: 8a7b62194c5e858b4615100a3fcfcc9fbb3eba5e Parents: 422a175 Author: Lenni Kuff <[email protected]> Authored: Sat Dec 12 23:58:37 2015 -0800 Committer: Lenni Kuff <[email protected]> Committed: Sat Dec 12 23:58:37 2015 -0800 ---------------------------------------------------------------------- pom.xml | 1 - sentry-provider/sentry-provider-db/pom.xml | 7 +++++++ sentry-tests/sentry-tests-hive/pom.xml | 1 + sentry-tests/sentry-tests-solr/pom.xml | 12 ++++++++++++ 4 files changed, 20 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8a7b6219/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index a369621..ec7b347 100644 --- a/pom.xml +++ b/pom.xml @@ -719,7 +719,6 @@ limitations under the License. <artifactId>maven-surefire-plugin</artifactId> <version>2.18</version> <configuration> - <reuseForks>false</reuseForks> <environmentVariables> <HADOOP_CLIENT_OPTS>-Xmx1500m -Dhive.log.dir=./target/</HADOOP_CLIENT_OPTS> </environmentVariables> http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8a7b6219/sentry-provider/sentry-provider-db/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-provider/sentry-provider-db/pom.xml b/sentry-provider/sentry-provider-db/pom.xml index 64039de..a1aca0c 100644 --- a/sentry-provider/sentry-provider-db/pom.xml +++ b/sentry-provider/sentry-provider-db/pom.xml @@ -256,6 +256,13 @@ limitations under the License. </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <reuseForks>false</reuseForks> + </configuration> + </plugin> </plugins> </build> <profiles> http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8a7b6219/sentry-tests/sentry-tests-hive/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-hive/pom.xml b/sentry-tests/sentry-tests-hive/pom.xml index bea4a73..5194e5d 100644 --- a/sentry-tests/sentry-tests-hive/pom.xml +++ b/sentry-tests/sentry-tests-hive/pom.xml @@ -276,6 +276,7 @@ limitations under the License. <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <reuseForks>false</reuseForks> <systemPropertyVariables> <buildDirectory>${project.build.directory}</buildDirectory> </systemPropertyVariables> http://git-wip-us.apache.org/repos/asf/incubator-sentry/blob/8a7b6219/sentry-tests/sentry-tests-solr/pom.xml ---------------------------------------------------------------------- diff --git a/sentry-tests/sentry-tests-solr/pom.xml b/sentry-tests/sentry-tests-solr/pom.xml index c3b000d..e90ca06 100644 --- a/sentry-tests/sentry-tests-solr/pom.xml +++ b/sentry-tests/sentry-tests-solr/pom.xml @@ -73,4 +73,16 @@ limitations under the License. </exclusions> </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <reuseForks>false</reuseForks> + </configuration> + </plugin> + </plugins> + </build> + </project>
