This is becoming more complex than I anticipated... I was hoping to invest little time to parallelize a few tests and be done with it and move to next task.
If this is becoming a large task it gets inviable, I would rather invest the time on improve OpenWire at Artemis instead save a few minutes on the testsuite. (It doesn't seem I could save much anyways, just a few tests that can be parallelized). I will keep looking for an easy solution though :) but I don't want to spend much time implementing it :) On Thu, Jun 25, 2015 at 10:29 AM, Gary Tully <[email protected]> wrote: > peek at @NotThreadSafe in > http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html > > the inverse of what you want but not a bad place to start. > > > On 25 June 2015 at 15:20, Clebert Suconic <[email protected]> wrote: >> I can't run the whole thing in Parallel, I need to be able to tell >> which tests are safe to run in parallel. >> >> On Thu, Jun 25, 2015 at 10:13 AM, Gary Tully <[email protected]> wrote: >>> maven surefire can fire off a few parallel jvms on a junit class or >>> method or I think even modules in parallel - it is at a higher level >>> but it think it is a sensible approach. >>> http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#parallel >>> >>> On 25 June 2015 at 14:53, Clebert Suconic <[email protected]> wrote: >>>> I have failed on google for this one... >>>> >>>> Well, I could find plenty of stuff but failed to find a good one. >>>> >>>> >>>> I'm hoping to get a few tests on Artemis and make them run in Parallel >>>> to gain some time on the overall testsuite. >>>> >>>> >>>> I was hoping to be able to "steal" some code from apollo, but the >>>> little I saw it's using a Scala trait for that, you add something like >>>> with with ParallelTestExecution (through super classes on the >>>> testsuite). >>>> >>>> I was looking into something similar on junit and I couldn't find >>>> anything like it. I found some user extends through Stack Over Flow, >>>> through something called ParallelComputer in Junit but I couldn't find >>>> anything standard enough and ready to use. >>>> >>>> Does anyone have any experience to share here? >> >> >> >> -- >> Clebert Suconic >> http://community.jboss.org/people/[email protected] >> http://clebertsuconic.blogspot.com -- Clebert Suconic http://community.jboss.org/people/[email protected] http://clebertsuconic.blogspot.com
