AMBARI-20198. [UT parallel tests] ambari maven execution needs external variable for forkcount in docker image. (mpapirkovskyy)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b426441d Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b426441d Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b426441d Branch: refs/heads/branch-2.5 Commit: b426441d1cb77dfc2f78e0bca2767454deb3291e Parents: f706881 Author: Myroslav Papirkovskyi <[email protected]> Authored: Sun Feb 26 14:04:07 2017 +0200 Committer: Myroslav Papirkovskyi <[email protected]> Committed: Sun Feb 26 16:17:06 2017 +0200 ---------------------------------------------------------------------- ambari-project/pom.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b426441d/ambari-project/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 38075bb..239a93d 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -32,6 +32,8 @@ <jetty.version>8.1.19.v20160209</jetty.version> <checkstyle.version>6.19</checkstyle.version> <!-- last version that does not require Java 8 --> <checkstyle.skip>false</checkstyle.skip> + <forkCount>4</forkCount> + <reuseForks>false</reuseForks> </properties> <profiles> <profile> @@ -551,10 +553,10 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> + <reuseForks>${reuseForks}</reuseForks> + <forkCount>${forkCount}</forkCount> <redirectTestOutputToFile>true</redirectTestOutputToFile> <forkedProcessTimeoutInSeconds>900</forkedProcessTimeoutInSeconds> - <reuseForks>false</reuseForks> - <forkCount>1C</forkCount> </configuration> </plugin> <plugin>
