maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Gudian <andreas.gud...@gmail.com>
Subject Re: maven-surefire-plugin
Date Wed, 15 May 2013 15:46:03 GMT
Hi,

The timeout is for each forked JVM process. So I you use reuseForks=true it
counts for all the tests executed in each of the parallel forks
(forkCount>=1). With reuseForks=false, it counts for each test class.

Cheers,
Andreas

Am Mittwoch, 15. Mai 2013 schrieb :

>
>
> Hello everyone
>
> I'm wondering about forkedProcessTimeoutInSeconds  in the test mojo of the
> maven-surefire-plugin. What is not clear from the docs is, is this timeout
> reset per test? is it affected by the number of forks?
> e.g.
> if i have only 1 fork and i have 300 tests @ 1s each and I set the timeout
> at 20s, will it fail the tests because the combined time is > 20s or as
> long as one single test doesn't go over 20s they will all pass?
>
> Thank you
>
>
> Alejandro Endo | Software Designer/Concepteur de logiciels
> DISCLAIMER:
>
> Privileged and/or Confidential information may be contained in this
> message. If you are not the addressee of this message, you may not
> copy, use or deliver this message to anyone. In such event, you
> should destroy the message and kindly notify the sender by reply
> e-mail. It is understood that opinions or conclusions that do not
> relate to the official business of the company are neither given
> nor endorsed by the company.
>
> Thank You.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message