Skip to content

Try to fix/stabilize a number of flaky tests (#16934) - #17763

Merged
normanmaurer merged 6 commits into
4.1from
flaky41
Oct 5, 2026
Merged

normanmaurer merged 6 commits into
4.1from
flaky41

Conversation

@normanmaurer

@normanmaurer normanmaurer commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Motivation:
These tests have been randomly failing recently.

Modification:

  • Try to avoid OutOfMemoryError in
    testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException
  • Increase timeouts and add more diagnostics to AbstractByteBufTests
  • Capture more diagnostics for PooledByteBufAllocatorTest
  • Fix PerMessageDeflateDecoderTest

Result:
More stable build

Motivation:
These tests have been randomly failing recently.

Modification:
- Try to avoid `OutOfMemoryError` in
`testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException`
- Increase timeouts and add more diagnostics to `AbstractByteBufTests`
- Make `Recycler` eagerly class-load `DefaultHandle` to avoid it in the
performance critical `getWith` method
- Capture more diagnostics for `PooledByteBufAllocatorTest`
- Fix `PerMessageDeflateDecoderTest`

Result:
More stable build
@normanmaurer normanmaurer added this to the 4.1.139.Final milestone Oct 5, 2026
@testlens-app

testlens-app Bot commented Oct 5, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 83943ab
▶️ Tests: 142962 executed
⚪️ Checks: 18/18 completed


Learn more about TestLens at testlens.app/docs.

@normanmaurer
normanmaurer merged commit ac4ea46 into 4.1 Oct 5, 2026
19 checks passed
@normanmaurer
normanmaurer deleted the flaky41 branch October 5, 2026 14:53
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
Motivation:
These tests have been randomly failing recently.

Modification:
- Try to avoid `OutOfMemoryError` in
`testTaskRemovalOnShutdownThrowsNoUnsupportedOperationException`
- Increase timeouts and add more diagnostics to `AbstractByteBufTests`
- Capture more diagnostics for `PooledByteBufAllocatorTest`
- Fix `PerMessageDeflateDecoderTest`

Result:
More stable build

---------

Co-authored-by: Chris Vest <[email protected]>
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