Skip to content

Disable flaky test for now#14828

Merged
chrisvest merged 1 commit intonetty:4.2from
chrisvest:4.2-disable-flaky
Feb 17, 2025
Merged

Disable flaky test for now#14828
chrisvest merged 1 commit intonetty:4.2from
chrisvest:4.2-disable-flaky

Conversation

@chrisvest
Copy link
Copy Markdown
Member

Motivation:
The SignleThreadIoEventLoopTest.testSuspendingWhileRegistrationActive is flaky.

The event loop and the trySuspend calls are racing, so occasionally a wakeup call is ignored (due to the internal state), or occasionally the run(IoHandlerContext) gets to run twice in a row with only one wakeup call.

When this happens, the event loop misses the suspension signal because it's waiting on the semaphore, and in turn the currentThread.join() will not complete.

Modification:
Disable the test for now.

Result:
Build no longer gets stuck on this test.

Motivation:
The SignleThreadIoEventLoopTest.testSuspendingWhileRegistrationActive is flaky.

The event loop and the trySuspend calls are racing, so occasionally a wakeup call is ignored (due to the internal state), or occasionally the run(IoHandlerContext) gets to run twice in a row with only one wakeup call.

When this happens, the event loop misses the suspension signal because it's waiting on the semaphore, and in turn the currentThread.join() will not complete.

Modification:
Disable the test for now.

Result:
Build no longer gets stuck on this test.
@chrisvest chrisvest merged commit bddaa9a into netty:4.2 Feb 17, 2025
14 of 15 checks passed
@chrisvest chrisvest deleted the 4.2-disable-flaky branch February 17, 2025 21: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.

2 participants