You are right that the -T option and surefire's parallelism are
complementary. Given equal-sized modules the effect tweaking surefire
vs -T parallelism should be similar.
The fork/thread related parameters to surefire have NO relation to the
-T parameters, which means reuseForks is ineffective in
I suspect you're simply trashing your os or the VM. Look at
disk/memory usage indicators OS level
Is there any way to get the modules I'm running in parallel to use different
heaps or VMs so they are not stepping on each other? I allocated 4 GB of
memory and my JUnit tests aren't doing taht
I suggest you set forkCount to 1 on surefire/failsafe, which will run
all the tests in separate VMs and *also* actually make the argLine
command work. Currently, you are not using 4GB for your tests.
Kristian
2014-10-09 16:51 GMT+02:00 laredotornado-3 laredotorn...@gmail.com:
I suspect you're
On Thu, Oct 9, 2014 at 10:48 AM, Kristian Rosenvold
kristian.rosenv...@gmail.com wrote:
I suggest you set forkCount to 1 on surefire/failsafe, which will run
all the tests in separate VMs and *also* actually make the argLine
command work. Currently, you are not using 4GB for your tests.
I
Kristian,
Your 'actually make the argLine command work' comment is killing me. What
are you talking about? Everything I have read indicates that the correct
way to set memory for surefire/failsafe plugins is to have this in the
configuration -- argLine-Xmx4096m/argLine.
Laird,
Thanks for your
Hi,
I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the
Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a
couple of modules in parallel, it takes much longer than when I run them
individually. I’m trying to figure out ways to speed up my build. I
Hi,
have paid attention to forkCount ? How did you set it?
How many core's do you have ?
On 10/8/14 8:44 PM, laredotornado-3 wrote:
Hi,
I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the
Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running a
Hi,
laredotornado-3 wrote:
Hi,
I’m using Maven 3.2.3, Spring 3.2.11.RELEASE, JUnit 4.11, Java 6, and the
Surefire/Failsafe 2.17 plugins. I’m trying to figure out why when running
a couple of modules in parallel, it takes much longer than when I run them
individually. I’m trying to
Hi,
Karl, to answer your question, I only have one processor on my MacBook Pro
(10.9.5), which is a 2.2 GHz Intel Core i7. I haven't set forkCount in
either my surefire or failsafe plugin (configs listed in question) because I
was under the impression that the -T option took care of that.
Jörg,