ahoehma edited a comment on pull request #251:
URL: https://github.com/apache/maven-surefire/pull/251#issuecomment-1060915757


   Hi all ... any news regarding new versions ... I'm little bit blocked to 
update testng over 7.4.0 because of some incomp. changes.
   
   With testng 7.5 and surefire 3.0.0-M5 ...
   
   Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: 
There was an error in the forked process
   org.testng.xml.XmlSuite.setParallel(Ljava/lang/String;)V
   java.lang.NoSuchMethodError: 
org.testng.xml.XmlSuite.setParallel(Ljava/lang/String;)V
           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.executeLazy(TestNGDirectoryTestSuite.java:123)
           at 
org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:90)
           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)
   
   
   2021 there was a hint about upcomming surefire fixes for this ... but 
nothing happend yet :)
   
   https://groups.google.com/g/testng-users/c/0uuHRo-xJ04/m/mynTFvprBQAJ
   
   Maybe someone can point my to an issue ... I can try to provide a MR?!
   
   Strange fix for me ... If I remove <parallel>classes</parallel> from my 
surefire configuration then my build runs with testng 7.5. A kind of default 
ist then working okayisch.
   
   PS: sorry if I spam here ... please tell me ... then I will move my comment 
here to the right pos. thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to