comsat icon indicating copy to clipboard operation
comsat copied to clipboard

Injectable WebActors - Undertow

Open roded opened this issue 9 years ago • 1 comments

PR to see if I can figure out the hanging tests issues on Travis.

I can't reproduce the same issue locally. However what I am seeing on my machine is that tests sometimes fail due to an java.lang.RuntimeException: java.net.BindException: Address already in use: bind exception. After server.stop(), the INET_PORT remains in a TIME_WAIT state it seems . Adding a short Thread.sleep() after stopping or a while(available(INET_PORT)) Thread.sleep(500); where available is something like this: http://svn.apache.org/viewvc/camel/trunk/components/camel-test/src/main/java/org/apache/camel/test/AvailablePortFinder.java?view=markup#l130 fixes the issue on my machine. No sure idea if this is related to the hanging SSE tests though.

roded avatar Nov 30 '16 10:11 roded

So it's not related to the SSE hang up. Any idea how I can get Travis to show souts in its logs? And/or, could a temporary hook to output a thread dump be added to the after_failure stage?

roded avatar Nov 30 '16 11:11 roded