Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-760

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 2.11
    • Junit 4.x support
    • None
    • 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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              argaul Andrew Gaul
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: