Skip to content

Auto-port 4.1: Consolidate fake exceptions in HTTP/2 tests into Http2TestUtil#16725

Merged
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16712-to-4.1
Apr 29, 2026
Merged

Auto-port 4.1: Consolidate fake exceptions in HTTP/2 tests into Http2TestUtil#16725
normanmaurer merged 1 commit into
4.1from
auto-port-pr-16712-to-4.1

Conversation

@netty-project-bot
Copy link
Copy Markdown
Contributor

Auto-port of #16712 to 4.1
Cherry-picked commit: 27b6a1b


Motivation:

HTTP/2 tests create ad-hoc fake exceptions to drive error paths.

Modification:

Add Http2TestUtil.FAKE_EXCEPTION (stackless singleton) and replace local instances across 8 test classes.

Result:

Fixes #4274

Motivation:

HTTP/2 tests create ad-hoc fake exceptions to drive error paths.

Modification:

Add `Http2TestUtil.FAKE_EXCEPTION` (stackless singleton) and replace
local instances across 8 test classes.

Result:

Fixes #4274

(cherry picked from commit 27b6a1b)
@normanmaurer normanmaurer modified the milestone: 4.1.133.Final Apr 29, 2026
@normanmaurer normanmaurer merged commit 64fb275 into 4.1 Apr 29, 2026
17 of 19 checks passed
@normanmaurer normanmaurer deleted the auto-port-pr-16712-to-4.1 branch April 29, 2026 12:55
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.

3 participants