DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Multiple JUnit remote test with different @ContextConfiguration fail #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a new Maven SDK 1.1.1 AMP archetype project
2. Create a dummy Spring context file in your test resources
3. Copy the DemoComponentTest and add the dummy Spring context file to the 
@ContextConfiguration. Do not do this in the original test.

What is the expected output? What do you see instead?

I expect that the tests run, however when the second test runs we get the error 
"Could not start JUnit remoteServer" a lot. The build will then fail.

What version of the product are you using? On what operating system?

Maven SDK 1.1.1 AMP archetype with Mac OS X and Alfresco 4.2.e.

Original issue reported on code.google.com by m.swe...@aca-it.be on 10 Dec 2013 at 12:46

GoogleCodeExporter commented 8 years ago
This is also to be checked, not sure it'll make 2.0.0. Mau assigning it to you.

Original comment by colum...@gmail.com on 18 Jul 2014 at 8:23

GoogleCodeExporter commented 8 years ago
Generally remote runner is broken, try checking out the latest 2.0.0-b4, build 
it,  and run tests for the sample DemoComponent project - it won't work. 
Message is "Could not start JUnit remoteServer".

I had to comment out the junit-remote dependency in alfresco-rad to be able to 
execute any JUnit tests in AMPs.

Original comment by karo...@gmail.com on 17 Sep 2014 at 8:08