You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Kolotyluk (Jira)" <ji...@apache.org> on 2021/12/28 16:19:00 UTC

[jira] [Created] (SUREFIRE-1973) Tests Fail in 3.0.0-M5 but Pass in 2.22.2

Eric Kolotyluk created SUREFIRE-1973:
----------------------------------------

             Summary: 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


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)