On Tue, Jan 19, 2010 at 3:31 PM, ant elder <[email protected]> wrote: > On Mon, Jan 18, 2010 at 4:31 PM, ant elder <[email protected]> wrote: > >> >> (replying to this email as its most directly related to the build time) >> >> The surefire plugin has just had a new release and one of the new >> features is parallel execution of tests. I gave it a quick try with >> the Tuscany build, its not totally straight forward as a bunch of >> tuscany tests fail or hang due to conflict's with things like http >> ports getting used at the same time so i had to fudge a few things to >> get a build through but it does look like it might reduce the build >> time by about 50%. The Java CAA otests dont do much with http ports so >> trying that I managed a test run with no fails which went from 1 >> minute 48 secs single thread down to just 39 seconds with parallel >> tests. Its probably a bit too fragile with the tuscany build to check >> this in just yet but it seems like a big enough improvement to be >> worth looking at more, there's a blog post that describes more about >> it if anyone else wants to have a go - >> http://incodewetrustinc.blogspot.com/2010/01/run-your-junit-tests-concurrently-with.html >> >> ...ant >> > > I've added a profile named "fast" to the top level Tuscany pom.xml > that can be used to try this out. Right now the only thing that works > with it is the Java CAA otests, thats because everything else is on > too old a release of junit. I'll go through updating everything else > shortly. Would be interesting if other could try it out with the CAA > otests to see if they notice much difference, just add -Pfast to the > mvn command when running the tests. > > ...ant >
The fast profile should work on the main Tuscany build now too. I'd be interested in if anyone could try it and see if it makes much difference or causes any problems. If no one does find anything I'd like to change it so that its the default for the trunk build. ...ant
