Re: [ANN] Apache Maven Surefire 3.6.0-M1 Released

"Stanimir Stamenkov via users" <[email protected]> Sat, 6 Jun 2026 12:53:16 +0300
Newsgroups gmane.comp.jakarta.turbine.maven.user
Message-ID <[email protected]>
Sat, 6 Jun 2026 19:14:27 +1000, /Olivier Lamy/:

> I definitely know what the problem is, and was a bit scared of this :)
> You can use something such
> -Dsurefire.stackTraceMaxFrames=-1
> I would say that every higher value is useful for JUnit 5+ when 
> parallel execution is enabled.
> Long story short, the goal is to fix this
> https://github.com/apache/maven-surefire/issues/3215
> But in your case, using Junit4, it's not necessary.
> I will try to find a way to improve this.

Thank you for the explanation and the suggested setting – works the 
problem around for me.

I'm not aware of the implementation details, but the property name 
suggests it is looking at the stack trace.  Maybe looking at the current 
thread and thread group could be more reliable, and faster.  It could be 
more reliable as the test itself may spawn a thread where the output 
happens.


> On Sat, 6 Jun 2026 at 16:51, Stanimir Stamenkov via users 
> <[email protected]> wrote:
>
>> I've opened:
>>
>> -   https://github.com/apache/maven-surefire/issues/3373
>>
>> with the example I'm trying with.

--