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

Cannot run tests in parallel

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            steve1976 Steve Stogner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: