Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Injectable WebActors - Undertow #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Injectable WebActors - Undertow #87

wants to merge 1 commit into from

Conversation

roded
Copy link
Contributor

@roded roded commented Nov 30, 2016

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
Copy link
Contributor Author

roded commented Nov 30, 2016

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant