findepi commented on pull request #407: URL: https://github.com/apache/maven-surefire/pull/407#issuecomment-994002943
> It seems that the orders of the classes is not preserved when running the tests in parallel. When you run without parallel, i didn't observe high resource consumption at all -- in my simple test project the tests are being setup and torn down in turns, with no two tests being initialized at the same time I tested the surefire+testng behavior before and after the change, with `parallel="methods"` and thread count 2. I used TestNG versions 6.10 (as currently used in Trino), and 7.3.0 (the newest that worked with surefire 3.0.0-M5, surefire 3.0.0-M6 doesn't work with my local maven version). For both testng versions, before the change i would get high number of test classes initialized concurrently, and not torn down yet. After the change, i wouldn't see more than 2 (test thread count) test classes initialized at the same time. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
