Repository: maven-surefire Updated Branches: refs/heads/master 06200e077 -> df06e2f06
+ documentation in fork-options-and-parallel-execution.apt.vm Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/df06e2f0 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/df06e2f0 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/df06e2f0 Branch: refs/heads/master Commit: df06e2f06239d7967f59341708049989b3d77629 Parents: 06200e0 Author: tibordigana <tibo...@lycos.com> Authored: Thu Oct 30 00:44:47 2014 +0100 Committer: tibordigana <tibo...@lycos.com> Committed: Thu Oct 30 00:44:47 2014 +0100 ---------------------------------------------------------------------- .../apt/examples/fork-options-and-parallel-execution.apt.vm | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/df06e2f0/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm ---------------------------------------------------------------------- diff --git a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm index 77b4b48..81d32f5 100644 --- a/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm +++ b/maven-surefire-plugin/src/site/apt/examples/fork-options-and-parallel-execution.apt.vm @@ -94,6 +94,13 @@ Fork Options and Parallel Test Execution The surefire is always trying to reuse threads, optimize the thread-counts, and prefers thread fairness. + The parameters <<<parallelTestsTimeoutInSeconds>>> and + <<<parallelTestsTimeoutForcedInSeconds>>> are used to specify an optional + timeout in parallel execution. If the timeout is elapsed, the plugin prints + the summary log with ERROR lines: + <"These tests were executed in prior to the shutdown operation">, and + <"These tests are incomplete"> if the running Threads were <<interrupted>>. + <<The important thing to remember>> with the <<<parallel>>> option is: the concurrency happens within the same JVM process. That is efficient in terms of memory and execution time, but you may be more vulnerable towards race