[ 
https://issues.apache.org/jira/browse/SUREFIRE-1973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Kolotyluk updated SUREFIRE-1973:
-------------------------------------
    Description: 
I have some unit tests that are failing when I run `mvn test` but pass when I 
run them from the IntelliJ IDEA User Interface.

The same tests pass when I use `2.22.2` of the Surefire Plugin with `mvn test`.

I am not sure what other information is helpful, but you can clone the project 
from GitHub to see the issue in action. I would be happy to provide more 
specific information on request.

_It is particularly odd that the test code actually behaves differently when 
running with Surefire 3.0.0-M5, which I would not have thought possible._

  was:
I have some unit tests that are failing when I run{{ mvn test}} but pass when I 
run them from the IntelliJ IDEA User Interface.

The same tests pass when I use {{2.22.2 }}of the Surefire Plugin with {{{}mvn 
test{}}}.

I am not sure what other information is helpful, but you can clone the project 
from GitHub to see the issue in action. I would be happy to provide more 
specific information on request.

_It is particularly odd that the test code actually behaves differently when 
running with Surefire 3.0.0-M5, which I would not have thought possible._


> Tests Fail in 3.0.0-M5 but Pass in 2.22.2
> -----------------------------------------
>
>                 Key: SUREFIRE-1973
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1973
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 3.0.0-M5
>         Environment: https://github.com/kolotyluk/loom-lab 
> (laboratory/LagTests)
> Windows 10, Java 17, IntelliJ IDEA 2021.3 
> Build #IU-213.5744.223, built on November 27, 2021
> Runtime version: 11.0.13+7-b1751.19 amd64
> VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
>            Reporter: Eric Kolotyluk
>            Priority: Major
>
> I have some unit tests that are failing when I run `mvn test` but pass when I 
> run them from the IntelliJ IDEA User Interface.
> The same tests pass when I use `2.22.2` of the Surefire Plugin with `mvn 
> test`.
> I am not sure what other information is helpful, but you can clone the 
> project from GitHub to see the issue in action. I would be happy to provide 
> more specific information on request.
> _It is particularly odd that the test code actually behaves differently when 
> running with Surefire 3.0.0-M5, which I would not have thought possible._



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to