[ 
https://jira.codehaus.org/browse/SUREFIRE-827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290928#comment-290928
 ] 

Andrew Gaul commented on SUREFIRE-827:
--------------------------------------

Oliver I believe that this is related to parallel tests and is a regression 
from SUREFIRE-760.  Given an Apache commons-lang 3.1 project and setting the 
surefire version in the pom to ${surefire.version}, I get these results:

<pre>
$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-Dsurefire.version=2.11
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes 
-Dsurefire.version=2.12
...
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.11
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=none 
-Dsurefire.version=2.12
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
</pre>

I cannot speak to Falko's symptoms.
                
> Surefire 2.12 cannot run a single test, regression from 2.11
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-827
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-827
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.12
>         Environment: Ubuntu 11.10
>            Reporter: Andrew Gaul
>
> # Surefire 2.11
> $ mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> # Surefire 2.12
> mvn test -Dtest=DataTest#testDataServerGetNonExistentFile
> ...
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to