mvn -Dtest=ClassName#methodName does not work with parallel tests
-----------------------------------------------------------------

                 Key: SUREFIRE-760
                 URL: https://jira.codehaus.org/browse/SUREFIRE-760
             Project: Maven Surefire
          Issue Type: Bug
          Components: Junit 4.x support
    Affects Versions: 2.9
         Environment: java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
JUnit 4.8.2
            Reporter: Andrew Gaul


Tested with commons-lang 3.0.1:

$ mvn test -Dtest=ImmutablePairTest#testBasic
...
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

$ mvn test -Dtest=ImmutablePairTest#testBasic -Dparallel=classes
...
Concurrency config is parallel='classes', perCoreThreadCount=true, 
threadCount=2, useUnlimitedThreads=false
...
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to