UNDERTOW-1859 Fix WriteTimeoutTestCase not terminating#1474
Open
TomasHofman wants to merge 1 commit intoundertow-io:mainfrom
Open
UNDERTOW-1859 Fix WriteTimeoutTestCase not terminating#1474TomasHofman wants to merge 1 commit intoundertow-io:mainfrom
TomasHofman wants to merge 1 commit intoundertow-io:mainfrom
Conversation
ed5177d to
4e26a39
Compare
Contributor
Author
|
The WriteTimeoutTestCase now fails in the "proxy" profile with: |
Contributor
Author
|
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. |
Member
|
Yep, we will need to investigate this a little further. Basically, it seems this fix undecovered another underlying issue. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.