Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.18.1
-
None
-
None
Description
The config parameter redirectTestOutputToFile behaves differently based on how parallelism is configured in the surefire plugin.
If the config is
<forkCount>2</forkCount>
<reuseForks>false</reuseForks>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
then the output from the tests is directed correctly to 'xxxtest-output.txt' file.
However, if the config is
<threadCount>2</threadCount>
<parallel>classes</parallel>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
then the output from the tests is partially directed to the 'xxxtest-output.txt file and partially to stdout.
Also the output files have different names in two cases.