DRILL-2039: set surefire fork count proportional to number of cores
Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/4e9a17e2 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/4e9a17e2 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/4e9a17e2 Branch: refs/heads/master Commit: 4e9a17e20da20de0f4f2088dda963f36f62ccf09 Parents: cae5098 Author: Hanifi Gunes <hgu...@maprtech.com> Authored: Fri Apr 3 15:23:32 2015 -0700 Committer: Mehant Baid <meha...@gmail.com> Committed: Fri Apr 10 21:21:27 2015 -0700 ---------------------------------------------------------------------- contrib/storage-hive/core/pom.xml | 8 -------- exec/jdbc/pom.xml | 8 -------- pom.xml | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/4e9a17e2/contrib/storage-hive/core/pom.xml ---------------------------------------------------------------------- diff --git a/contrib/storage-hive/core/pom.xml b/contrib/storage-hive/core/pom.xml index 198fcdf..9bd6293 100644 --- a/contrib/storage-hive/core/pom.xml +++ b/contrib/storage-hive/core/pom.xml @@ -130,14 +130,6 @@ </execution> </executions> </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkCount>1</forkCount> - <reuseForks>false</reuseForks> - </configuration> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/drill/blob/4e9a17e2/exec/jdbc/pom.xml ---------------------------------------------------------------------- diff --git a/exec/jdbc/pom.xml b/exec/jdbc/pom.xml index acd4882..383a845 100644 --- a/exec/jdbc/pom.xml +++ b/exec/jdbc/pom.xml @@ -95,14 +95,6 @@ <build> <plugins> <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <forkCount>1</forkCount> - <reuseForks>false</reuseForks> - </configuration> - </plugin> - <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <inherited>true</inherited> http://git-wip-us.apache.org/repos/asf/drill/blob/4e9a17e2/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5e4bc68..c6aae38 100644 --- a/pom.xml +++ b/pom.xml @@ -385,7 +385,7 @@ -Dorg.apache.drill.exec.server.Drillbit.system_options="org.apache.drill.exec.compile.ClassTransformer.scalar_replacement=on" -XX:MaxPermSize=256M -XX:MaxDirectMemorySize=3072M -XX:+CMSClassUnloadingEnabled -ea</argLine> - <forkCount>4</forkCount> + <forkCount>1C</forkCount> <reuseForks>true</reuseForks> <additionalClasspathElements> <additionalClasspathElement>./exec/jdbc/src/test/resources/storage-plugins.json</additionalClasspathElement>