I'd attempted various experiments with parallel execution of tests for the
git client plugin (particularly the credentials tests which tend to be slow
and spend much of their time transferring data from external git
repositories).  I never found settings that improved performance over the
defaults and still allowed the tests to execute successfully.

I tried -Dconcurrency=10 today and found no difference in wall clock time
compared to running without that argument.  Does that argument depend on a
newer version of Jenkins, or some other more recent developments?  The git
client plugin is intentionally based on an older Jenkins version, so it
doesn't see the latest Jenkins core changes.

Mark Waite

On Thu, Nov 12, 2015 at 11:51 AM, Jesse Glick <[email protected]> wrote:

> On Thu, Nov 12, 2015 at 10:07 AM, Kirill <[email protected]> wrote:
> > I have like 35 tests, and it takes approximately 9 minutes to execute
> them.
> > I want to reduce this time. I use the default Surefire settings, and if I
> > try to play around with forking options like advised on Surefire page
>
> The default plugin parent POM already configures all this stuff
> (correctly AFAIK), and sets concurrency=2 by default. You can raise
> that if you need on the command line:
>
> mvn -Dconcurrency=10 test
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr29nsteY65wnSpqXH4Yj%2BxBf1ETGmEk0Hd73AqUDDaFMg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEMqYpo6gtEJ9q06FvjS9D%2BR9frFxbtE8Rh1RGiwCA_HA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to