maven-surefire icon indicating copy to clipboard operation
maven-surefire copied to clipboard

[SUREFIRE-2294] [REGRESSION] Debugging failsafe tests: Message "Listening for transport dt_socket at address" is written too late

Open jira-importer opened this issue 10 months ago • 1 comments

Wolfgang Knauf opened SUREFIRE-2294 and commented

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.


Attachments:

jira-importer avatar Feb 08 '25 10:02 jira-importer

issue introduced with 3.0.0-M5

culprit c5319bf493c2929d13cd62d89c34704d5d5cb33a

olamy avatar Jul 23 '25 04:07 olamy