Marco,

Recently I noticed that after the build
29<https://jenkins.ci.cloudbees.com/job/plugins/job/maven-plugin/29/>the
maven-plugin depends on org.jenkins-ci.plugins:plugin:1.538 instead of
version 1.532. This version change modify some behaviors of test
executions, in particular the parallelism of the tests. Now, the
maven-surefire-plugin executes 2 tests concurrently. If you get in trouble
executing cobertura with 2 threads running in parallel, you can change the
property forkCount of the maven-surefire-plugin locally.

I want to tell you also, than after the version 1.540 of the
jenkins-test-harness, you can modify the default timeout value by using the
parameter -Djenkins.test.timeout=$TIME_IN_SECONDS. If you are getting
timeouts, you can change to 1.540 the version of
org.jenkins-ci.plugins:plugin, and take advantage of this parameter. The
default value are seted in 180 seconds by test.

I hope this info can be useful for you.

Regards.

Marcelo Rebasti


On Fri, Nov 8, 2013 at 11:53 PM, Marco Miller <[email protected]> wrote:

> Thank you Marcelo for the tips!
> I was also able to pass most of the tests using the below commit you
> mentioned.
> (I might try again with later commits.)
> BR,
> Marco =)
>
>
> On Friday, November 8, 2013 1:35:55 PM UTC-5, Marco Miller wrote:
>>
>> Hi!
>> So I've been trying to run all maven-plugin(*) unit tests but they never
>> complete.
>> (*) https://wiki.jenkins-ci.org/display/JENKINS/Maven+Project+Plugin
>>
>> I was getting outOfMemory errors incl. PermSize and I addressed those by
>> hacking-in cfg argLines in pom.xml.
>> But now the tests still do not run fully; they either hang or crash -yet
>> take forever to execute.
>> (I've been running them both from my Mac prompt and a Jenkins instance.)
>>
>> Did you run them recently and succeed at doing so -or maybe not?
>> Thx for sharing any relevant (very recent) experience, then! =)
>> -Marco.
>> PS: my goal with those tests is to measure their coverage with cobertura..
>>
>  --
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to