Re: Speeding up our unit tests in camel source code

2017-07-16 Thread Claus Ibsen
Hi And now its below 10 minutes on my laptop. [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 09:47 min On Sat, Jul 15, 2017 at 4:55 PM, Claus

Re: Speeding up our unit tests in camel source code

2017-07-15 Thread Claus Ibsen
On Sun, Jul 9, 2017 at 7:00 PM, Claus Ibsen wrote: > On Sun, Jul 9, 2017 at 1:06 PM, Claus Ibsen wrote: >> Hi >> >> Btw before I got started on this, the testing time for camel-core on >> my laptop was around 27 minutes. >> Now its down to around 18 minutes. >> > > And now its down to 13.5 minute

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Onder SEZGIN
Brilliant. On my old laptop, core tests take more than 1,5 hours. Nobody can be happier than me :) I will give it a go. Thanks. On Sun, Jul 9, 2017 at 8:14 PM, Zoran Regvart wrote: > On Sun, Jul 9, 2017 at 7:00 PM, Claus Ibsen wrote: > > On Sun, Jul 9, 2017 at 1:06 PM, Claus Ibsen > wrote: > >

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Zoran Regvart
On Sun, Jul 9, 2017 at 7:00 PM, Claus Ibsen wrote: > On Sun, Jul 9, 2017 at 1:06 PM, Claus Ibsen wrote: >> Hi >> >> Btw before I got started on this, the testing time for camel-core on >> my laptop was around 27 minutes. >> Now its down to around 18 minutes. >> > > And now its down to 13.5 minute

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Babak Vahdat
> On 9 Jul 2017, at 19:00, Claus Ibsen wrote: > > On Sun, Jul 9, 2017 at 1:06 PM, Claus Ibsen wrote: >> Hi >> >> Btw before I got started on this, the testing time for camel-core on >> my laptop was around 27 minutes. >> Now its down to around 18 minutes. >> > > And now its down to 13.5 minu

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Claus Ibsen
On Sun, Jul 9, 2017 at 1:06 PM, Claus Ibsen wrote: > Hi > > Btw before I got started on this, the testing time for camel-core on > my laptop was around 27 minutes. > Now its down to around 18 minutes. > And now its down to 13.5 minutes. So that is 100% faster than before ;) > On Sun, Jul 9, 201

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Claus Ibsen
Hi Btw before I got started on this, the testing time for camel-core on my laptop was around 27 minutes. Now its down to around 18 minutes. On Sun, Jul 9, 2017 at 11:01 AM, Claus Ibsen wrote: > Hi > > I have been working on speeding up our unit tests in camel-core. With > the help of awaitility

Re: Speeding up our unit tests in camel source code

2017-07-09 Thread Claus Ibsen
Hi I created a ticket to see if we can get maven surefire to run in parallel via test suites https://issues.apache.org/jira/browse/CAMEL-11525 Help is welcome to experiment with this to try to set something up. For a starter we can run all the org.apache.camel.processor vs the-rest in parallel,

Speeding up our unit tests in camel source code

2017-07-09 Thread Claus Ibsen
Hi I have been working on speeding up our unit tests in camel-core. With the help of awaitility and reducing thread sleeping and other means to speedup the tests. For example the unit tests that consume from a file endpoint could be speeded up by setting the delay to be quicker instead of the defa