apupier commented on PR #11603:
URL: https://github.com/apache/camel/pull/11603#issuecomment-1745074332

   > Some research suggests that this could be caused because some OSes have a 
[small I/O 
buffer](https://vyvaks.wordpress.com/2006/05/27/does-runtimeexec-hangs-in-java/)
 - granted, this seems to be a bit old. Maybe save the output to a log file and 
then read it later, instead?
   
   When i try to play with the streams, it is always hanging.
   When I try to use the ProcessBuilder which has some APis to redirect streams 
in a cleaner way, the mvn command is not found.
   
   i tried again with 20 minutes tiemout and it is still failing.
   I connected to the JVm and it seems that it is not blocked but downloading 
stuff. i'm suspecting that it downloads in some kind o floop the same artifacts 
but I do not reproduce when I connect the Java debugger so wasn't able to get 
to the bottom of it.
   
   I propose that I disable the test for now with a comment explaining why 
given that I never reproduced with a built version and it is not a new problem 
as I reproduce on Linux and the code executed has not been changed for Linux.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to