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

Not compatible with TestNG 7.4.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-M5
    • 3.0.0-M6
    • TestNG support
    • None

    Description

      TestNG 7.4.0 removed the deprecated method org.testng.xml.XmlSuite.setParallel(java.lang.String).   Trying to run tests with parallelism set results in:

       java.lang.NoSuchMethodError: 'void org.testng.xml.XmlSuite.setParallel(java.lang.String)'
              at org.apache.maven.surefire.testng.conf.TestNGMapConfigurator.configure(TestNGMapConfigurator.java:71)
              at org.apache.maven.surefire.testng.conf.TestNG510Configurator.configure(TestNG510Configurator.java:40)
              at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:111)
              at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:112)
              at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:99)
              at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
              at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
              at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
              at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
              at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
      

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              jbarnett Joe Barnett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: