Don't know why, the original mail from Alex never hit my mail box ...
---------- Forwarded message ----------
Emmanuel Lecharny wrote:
> Yeah, running integration tests is time consumming. For 1.0.1, it's
> acceptable, as it takes only 3min (depending on your computer), but in
> 1.5, it's around 5 times slower.
We have many more tests about 40% more.
> We may consider finding out why it takes so long in 1.5 (server
> initialization takes around 10 to 15 seconds, which is not really normal)
Please Emmanuel it does not take this long for startup. You're going to
freak people out by saying stuff like this. Let's watch these kinds of
It does take a little longer in 1.5 but really we have about 40% more
tests and initialization time is slower but no where near 10-15 seconds.
A single integration test case (with one test method) takes about 3.5
seconds to start, stop and cleanup on my old hardware (AMD 2800+).
Here's a run of just one empty test case. Committed here:
mvn -Dtest=OneEmptyITest -Dintegration test
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.538 sec
And as you can see 3.538 seconds is not anywhere near 10-15 seconds
Now you said that this is 5x slower in 1.5 branch than it is in the 1.0
So we're only 2x slower in the 1.5 branch than in the 1.0 branch. Again
that's way less than the 5 times figure you just threw out there.