Repository: ambari Updated Branches: refs/heads/branch-2.5 f7068818a -> b426441d1 refs/heads/trunk a8d1efc76 -> eb00261b8
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/eb00261b Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/eb00261b Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/eb00261b Branch: refs/heads/trunk Commit: eb00261b807ec32e8a11d28f1deb282a2faf7ddb Parents: a8d1efc Author: Myroslav Papirkovskyi <[email protected]> Authored: Sun Feb 26 14:04:07 2017 +0200 Committer: Myroslav Papirkovskyi <[email protected]> Committed: Sun Feb 26 14:04:07 2017 +0200 ---------------------------------------------------------------------- ambari-project/pom.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/eb00261b/ambari-project/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 0eab275..9afebc7 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -31,6 +31,8 @@ <powermock.version>1.6.3</powermock.version> <jetty.version>8.1.19.v20160209</jetty.version> <checkstyle.version>6.19</checkstyle.version> <!-- last version that does not require Java 8 --> + <forkCount>4</forkCount> + <reuseForks>false</reuseForks> </properties> <profiles> <profile> @@ -550,10 +552,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>
