forking between flakey tests retries ?

2015-08-30 Thread Kevin Burton
Is there a way to fork between flakey tests? I think the new surefire plugin changes retry the test in the same process. I’m using surefire to fork each test so I can release daemon resources as part of integration tests. We have integration / unit tests for zookeeper, cassandra, elastic

Can not build with Junit4.18

2015-08-30 Thread 建文
I add junit4.8 in my project, and the test java classes are in src/main/java not src/test/java(i know it's not best practice), and i set junit dependency scope to runtime. but when i run mvn clean install -DskipTests=ture,got error, [ERROR] Failed to execute goal

Re: Can not build with Junit4.18

2015-08-30 Thread Karl Heinz Marbaise
Hi, On 8/30/15 3:40 PM, 建文 wrote: I add junit4.8 in my project, and the test java classes are in src/main/java not src/test/java(i know it's not best practice), You should change that and put the tests into src/test/java... I assume you have given the scope for junit ? If yes than junit is

Re: Can not build with Junit4.18

2015-08-30 Thread jian wen
? Sent from Outlook On Sun, Aug 30, 2015 at 7:35 AM -0700, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, On 8/30/15 3:40 PM, 建文 wrote: I add junit4.8 in my project, and the test java classes are in src/main/java not src/test/java(i know it's not best practice), You should