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

TestNG "suitethreadpoolsize" parameter can not be set by Maven Surefire

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.18.1
    • Fix Version/s: 2.19
    • Component/s: TestNG support
    • Labels:
      None

      Description

      Because of Surefire is using deprecated TestNG.configure(Map) method, parameter "suitethreadpoolsize" value is not read by TestNG. And so test suites can not be run in parallel. This parameter is read only in TestNG.configure(CommandLineArgs) method.

      /**

      • This method is invoked by Maven's Surefire to configure the runner,
      • do not remove unless you know for sure that Surefire has been updated
      • to use the new configure(CommandLineArgs) method.
        *
      • @deprecated use new configure(CommandLineArgs) method
        */
        @Deprecated
        public void configure(Map cmdLineArgs) {
        ....

        Attachments

          Activity

            People

            • Assignee:
              tibor17 Tibor Digana
              Reporter:
              dundacek Jan Dundáček
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: