Wolfgang Knauf created SUREFIRE-2294:
----------------------------------------

             Summary: Debugging failsafe tests: Message "Listening for 
transport dt_socket at address" is written too late
                 Key: SUREFIRE-2294
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-2294
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: Wolfgang Knauf
         Attachments: debug_test_mvn_listening_2222.png, 
debug_test_mvn_listening_352.png

I launch integration tests with this command: "mvn -Pmyprofile 
-Dmaven.failsafe.debug verify"

With 2.22.2, it prints a message "Listening for transport dt_socket at address: 
5055" and then stops:

!debug_test_mvn_listening_2222.png!

With 3.5.2, it stops after the line "TESTS":

!debug_test_mvn_listening_352.png!

 

The line "Listening for transport dt_socket at address: 5055" is written AFTER 
a debugger was attached. This is a bit too late, and it might confuse newbie 
users that don't know what is happening here and why it hangs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to