steveloughran commented on pull request #3341: URL: https://github.com/apache/hadoop/pull/3341#issuecomment-916427326
OK, I have now discovered something while trying to track down why test running of the abfs integration tests in MAPREDUCE-7341 fail. the hadoop-azure pom *does* request parallel method execution ``` <parallel>both</parallel> ``` I think this means that different processes do run different methods in the parallel phase. This actually breaks anything which expects static state to be shared across different threads in the same test case, and also means that tests where `@FixMethodOrder(MethodSorters.NAME_ASCENDING)` is used to fix the method order Turning this feature off gets those tests to work. try commenting it out and see what difference it makes for you. I would like to change it to the same that other parallel runs have: all methods in a TestCase is run in the same process, and after that test case has finished, the process ends. I'll make it a separate change from my PR, but will include it my PR as well, for completeness. (thought it was some junit5 thing; not so) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
