Steve Stogner created SUREFIRE-883:
--------------------------------------

             Summary: Cannot run tests in parallel
                 Key: SUREFIRE-883
                 URL: https://jira.codehaus.org/browse/SUREFIRE-883
             Project: Maven Surefire
          Issue Type: Bug
          Components: Junit 4.7+ (parallel) support
    Affects Versions: 2.12
            Reporter: Steve Stogner
            Priority: Minor


Revision 1228960 seems to break parallel tests.
See ConfigurableParallelComputer.java.
before: Call to super.getRunner returns a ParentRunner that 
ConfigurableParallelComputer.getRunner passes directly to parallelize
after: Call to super.getRunner returns a ParentRunner, but 
ConfigurableParallelComputer.getRunner wraps that ParentRunner in a 
ClassDemarcatingRunner which it then passes to parallelize
problem: Parallelize calls setScheduler (and therefore parallelizes the tests) 
only for ParentRunners.  Since the ParentRunner of interest is wrapped inside 
the ClassDemarcatingRunner, which is not a ParentRunner, parallelize does not 
call setScheduler.

--
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