Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-14 Thread Debraj Manna
Created https://issues.apache.org/jira/browse/SUREFIRE-2195 On Thu, Sep 14, 2023 at 1:23 PM Olivier Lamy wrote: > Please create a jira to attach files as this will not be displayed > here in the mailing list. > > On Thu, 14 Sept 2023 at 17:50, Debraj Manna > wrote: > > > > Just to add, I am

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-14 Thread Olivier Lamy
Please create a jira to attach files as this will not be displayed here in the mailing list. On Thu, 14 Sept 2023 at 17:50, Debraj Manna wrote: > > Just to add, I am not sure if this is due to concurrent file access. Please > check the attached screenshot of the console logs. There it is saying

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-14 Thread Debraj Manna
Just to add, I am not sure if this is due to concurrent file access. Please check the attached screenshot of the console logs. There it is saying Test Run 5 but the AirInvoiceServiceTest contains only 1 test. And also the report shows random data. For example, sometimes it says Test Run 5 ,

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-13 Thread Debraj Manna
I am using a surefire dependency like below. Do I have to add anything in the plugin dependency for running tests in parallel using Junit5? org.apache.maven.plugins maven-surefire-plugin 3.1.2 I will see if I can reproduce it in a small project. In the meantime, if I can share some debug

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-12 Thread Olivier Lamy
I'm using surefire 3.1.2 and junit 5.9.3 (Oh I have to upgrade :) ) If you have a simple reproducer project, this would help On Wed, 13 Sept 2023 at 04:07, Debraj Manna wrote: > > I am still facing the issue with > junit.jupiter.execution.parallel.config.fixed.parallelism=3, JUnit5 Version > =

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-12 Thread Debraj Manna
I am still facing the issue with junit.jupiter.execution.parallel.config.fixed.parallelism=3, JUnit5 Version = 5.10.0 and surefire 3.1.2 On Tue, Sep 12, 2023 at 6:34 PM Debraj Manna wrote: > Olivier > > Can you please let me know what version of Surefire and JUnit5 you are > using? > > Thanks >

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-12 Thread Debraj Manna
Olivier Can you please let me know what version of Surefire and JUnit5 you are using? Thanks On Tue, Sep 12, 2023 at 5:16 PM Olivier Lamy wrote: > Maybe concurrent access to files in surefire > I'm using this extensively but only with 3 max parallel test. > Can you try >

Re: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-12 Thread Olivier Lamy
Maybe concurrent access to files in surefire I'm using this extensively but only with 3 max parallel test. Can you try junit.jupiter.execution.parallel.config.fixed.parallelism=3 And see if you still have the issues. If not and if increasing this number is causing the issue. This sound like a

RE: Re: How to log in surefire which test classes are executed in which surefire thread?

2023-09-12 Thread Debraj Manna
Hi I started using junit-platform.properties as suggested here. My configuration looks like below junit.jupiter.execution.parallel.enabled=true junit.jupiter.execution.parallel.config.strategy=fixed junit.jupiter.execution.parallel.config.fixed.parallelism=8