Skip to content

Auto-port 5.0: Propagate exceptions from inner threads in buffer tests#16653

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-16643-to-5.0
Apr 15, 2026
Merged

Auto-port 5.0: Propagate exceptions from inner threads in buffer tests#16653
chrisvest merged 1 commit into
5.0from
auto-port-pr-16643-to-5.0

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16643 to 5.0
Cherry-picked commit: 4f3533a


Motivation:
If there are assertion failures inside threads started by a test, we need to ensure that the exception propagates out of the test, instead of just killing the started thread. This is likely the cause of some test timeouts we're seeing, and this change will help us uncover the root causes.

Modification:
Catch exceptions inside threads started by the tests, and make sure to progress relevant barriers. Propagate the exception to the test-running thread so we capture the cause.

Result:
Easier to debug tests.

Motivation:
If there are assertion failures inside threads started by a test, we
need to ensure that the exception propagates out of the test, instead of
just killing the started thread. This is likely the cause of some test
timeouts we're seeing, and this change will help us uncover the root
causes.

Modification:
Catch exceptions inside threads started by the tests, and make sure to
progress relevant barriers. Propagate the exception to the test-running
thread so we capture the cause.

Result:
Easier to debug tests.

(cherry picked from commit 4f3533a)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Apr 15, 2026
@chrisvest chrisvest enabled auto-merge (squash) April 15, 2026 18:33
@chrisvest chrisvest merged commit 1c8e3b9 into 5.0 Apr 15, 2026
13 checks passed
@chrisvest chrisvest deleted the auto-port-pr-16643-to-5.0 branch April 15, 2026 19:29
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.

2 participants