maven-surefire
maven-surefire copied to clipboard
[SUREFIRE-2294] [REGRESSION] Debugging failsafe tests: Message "Listening for transport dt_socket at address" is written too late
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:
- debug_test_mvn_listening_2222.png (149.44 kB)
- debug_test_mvn_listening_352.png (94.61 kB)
issue introduced with 3.0.0-M5
culprit c5319bf493c2929d13cd62d89c34704d5d5cb33a