I think my issue may be that I'm using a parameterized unit test that is a JenkinsRule test. I suspect the parallel may not operate with tests with parameters defined at run time and using a non-default RunWith.
I generally prefer to only use JenkinsRule tests when I can't avoid them, because their setup and teardown time is longer. Does the parallel also work for tests which don't use JenkinsRule? Mark Waite On Fri, Nov 13, 2015 at 8:34 AM, Jesse Glick <[email protected]> wrote: > On Thu, Nov 12, 2015 at 8:50 PM, Mark Waite <[email protected]> > wrote: > > 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 > > AFAIK this is available in 1.535+ parent POMs. Assuming you write > `JenkinsRule` tests rather than unit tests, you should see ten tests > start before any start to complete. > > Wall clock time is highly sensitive to your machine: number of > processors, free RAM, HDD vs. SSD, etc. If you are patient you can try > something like > > mvn clean test-compile; for c in 10 9 8 7 6 5 4 3 2 1; do echo > "concurrency=$c"; time mvn surefire:test -Dconcurrency=$c > -Dmaven.test.failure.ignore &>-; done > > -- > 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/CANfRfr3aEOtZK%2B_M3Cxm%3DJ0gMt1Oc%3DWqP0GZp0YtqRQOJ1Eapw%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/CAO49JtGz2xoQ_hfkqsYGPZNdyKAj613FfbocXov3_4MQenXz1Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
