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

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

2023-05-30 Thread Karl Heinz Marbaise
On 30.05.23 07:24, Debraj Manna wrote: Thanks, Nils for replying. In JUnit5 it looks like running tests in parallel is still an experimental feature. Technically you are correct... but it's already a long time there I doubt that it will be removed. > So I was checking if it is possible to

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

2023-05-29 Thread Debraj Manna
Thanks, Nils for replying. In JUnit5 it looks like running tests in parallel is still an experimental feature. So I was checking if it is possible to do the same via Surefire. On Mon, May 29, 2023 at 9:05 PM Nils Breunese wrote: > I don’t have answers for your Surefire questions, but I wanted

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

2023-05-29 Thread Nils Breunese
I don’t have answers for your Surefire questions, but I wanted to mention that you can also tell JUnit 5.9.2 to execute tests in parallel: https://junit.org/junit5/docs/5.9.2/user-guide/index.html Nils. > Op 29 mei 2023 om 16:13 heeft Debraj Manna het > volgende geschreven: > > I updated

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

2023-05-29 Thread Debraj Manna
I updated by command like below mvn test -Dorg.slf4j.simpleLogger.showThreadName=true But I am observing that all my test classes are being executed in ThreadStreamConsumer [ThreadedStreamConsumer] [INFO] Running com.spotnana.servicetests.profile.ProfileCreatePersonalUserTest ...

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

2023-05-29 Thread Debraj Manna
I want to execute test classes concurrently in the same JVM. So my surefire-plugin config looks like below org.apache.maven.plugins maven-surefire-plugin 3.0.0-M7 $${surefire.forkNumber} -Xms512m -Xmx${surefire.max.heap}