GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — Auto-port 4.1: Kqueue: Add testsuite on macOS during PR validation by netty-project-bot · Pull Request #16471 · netty/netty Conversation
Contributor
Auto-port of #15159 to 4.1 Motivation: We should also run the kqueue transport testsuite during PR validation to ensure we don't introduce regressions Modifications: Add mvnw command to run tests as well on macOS Result: Testing of native kqueue transport during PR validation
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
normanmaurer
force-pushed
the
auto-port-pr-15159-to-4.1
branch
from
e0cafbf to
ebc7679
Compare
Motivation: We should also run the kqueue transport testsuite during PR validation to ensure we don't introduce regressions Modifications: Add mvnw command to run tests as well on macOS Result: Testing of native kqueue transport during PR validation (cherry picked from commit 33012ba) …#15255) Motivation: Using level-triggered better match our model and is also what we use for other transports. This removes a lot of complexity and make the transport more similar to epoll Modifications: - Change transport to use level-triggered - KqueueChannelOption.RCV_ALLOC_TRANSPORT_PROVIDES_GUESS was deprecated and be made a noop - Remove old test that is not valid anymore - Cleanup to remove some allocations Result: Code easier to reason about and to maintain …#15255) Motivation: Using level-triggered better match our model and is also what we use for other transports. This removes a lot of complexity and make the transport more similar to epoll Modifications: - Change transport to use level-triggered - KqueueChannelOption.RCV_ALLOC_TRANSPORT_PROVIDES_GUESS was deprecated and be made a noop - Remove old test that is not valid anymore - Cleanup to remove some allocations Result: Code easier to reason about and to maintain …eused fd Motivation: KQueue event registrations are set on file descriptors. When a channel is closed we need to remove the filters to avoid them triggering on future reuses of the same file descriptor. This was done after the fd had already been closed, so pending changes could be applied to a reused fd. In level-triggered mode this leaves stale filters that fire continuously. Modifications: Move doDeregister() to the start of doClose() in AbstractKQueueChannel and remove the prepareToClose machinery that was only used when SO_LINGER was configured (backport of #16650). Result: More stable kqueue integration. Restore the prepareToClose overrides. The SO_LINGER path now calls doDeregister() so the later doClose() on the other executor does not touch the registration again from outside the EventLoop. Motivation: SocketDataReadInitialStateTest.testAutoReadOffNoDataReadUntilReadCalled and SocketChannelNotYetConnectedTest.readMustBePendingUntilChannelIsActive run many permutations that each sleep or wait for a graceful shutdown. On the macOS runners they take close to (or beyond) their timeouts. Modifications: Raise the timeouts to 30s and 60s respectively. Result: No spurious timeouts on slow CI machines.
normanmaurer
force-pushed
the
auto-port-pr-15159-to-4.1
branch
from
57f0624 to
03802f6
Compare
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅Test SummaryTip Inspect all details with the TestLens CLI: Build PR / linux-x86_64-java21-graal build > Netty/Handler/Ssl/Ocsp
🏷️ Commit: 03802f6 Test FailuresOcspServerCertificateValidatorTest > connectUsingHttpAndValidateCertificateUsingOcspTest() (Netty/Handler/Ssl/Ocsp in Build PR / linux-x86_64-java21-graal build | Attempt 1/2)
Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Finally merged |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…etty#16471) Auto-port of netty#15159 to 4.1 Cherry-picked commit: 33012ba --- Motivation: We should also run the kqueue transport testsuite during PR validation to ensure we don't introduce regressions Modifications: Add mvnw command to run tests as well on macOS Result: Testing of native kqueue transport during PR validation --------- Co-authored-by: Norman Maurer <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.