-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
UNDERTOW-1859 Fix WriteTimeoutTestCase not terminating #1474
base: main
Are you sure you want to change the base?
Conversation
ed5177d
to
4e26a39
Compare
The WriteTimeoutTestCase now fails in the "proxy" profile with:
|
On my laptop the failures don't happen always, but often enough. Running The "Caused by: java.lang.RuntimeException: ..." portion of the stack trace above shows where the leaking buffer was initialized, and this stack trace is different in various surefire executions, depending on which conduits are configured etc... So far I don't understand what's causing the leak. |
https://issues.redhat.com/browse/UNDERTOW-1859
@fl4via for your consideration.
The test doesn't terminate because occasionally
int res = response.write(buffer)
on line 94 returns 0, which causes the thread to return and not execute theexchange.endExchange();
I think.