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 — Socket: Add half-closure tests to SocketHalfClosedTest by rajan-github · Pull Request #17394 · netty/netty Conversation
|
|
@rajan-github I think these are already covered by our |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @normanmaurer, Thanks for taking a look! while the
Existing tests like I initially wrote these against raw JDK sockets to isolate Would you prefer I refactor them into |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks @normanmaurer ! I've refactored the tests into |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@rajan-github please squash and fix / update the commit message to match what you did |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b5c605e to
8e2be24
Compare
|
@normanmaurer Done, thanks! I squashed the commits into a single commit and updated the commit message to accurately reflect the changes. The PR branch has been force-updated with the cleaned-up history. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
9ed98c4 to
2edee0b
Compare
SocketHalfClosedTest lacked test coverage verifying that active, unilateral local half-closure calls (shutdownInput() and shutdownOutput()) correctly permit the opposite direction to continue functioning with actual data payload transfer. Modifications: Add testShutdownInputAllowsOutboundWrites and testShutdownOutputAllowsInboundReads to SocketHalfClosedTest using DuplexChannel. Also remove unused imports and fix a checkstyle violation in NioSocketChannelTest. Result: Improve test coverage for transport-agnostic half-closure behavior, ensuring outbound writes succeed after shutdownInput() and inbound reads succeed after shutdownOutput().
2edee0b to
0da098c
Compare
There was an error while loading. Please reload this page.
🚨 TestLens detected 1 failed test 🚨Here is what you can do:
Test SummaryBuild PR / linux-x86_64-java25 build > Netty/Handler/Ssl/Ocsp
🏷️ Commit: 0da098c Test FailuresOcspServerCertificateValidatorTest (Netty/Handler/Ssl/Ocsp in Build PR / linux-x86_64-java25 build)Rerun ControlsSelect tests to mute in this pull request:
Reuse successful test results:
Click the checkbox to trigger a rerun:
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.
|
Could not create auto-port PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Auto-port PR for 5.0: #17433 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…#17433) Auto-port of #17394 to 5.0 Cherry-picked commit: e8aaef5 --- Motivation: SocketHalfClosedTest lacked test coverage verifying that active, unilateral local half-closure calls (shutdownInput() and shutdownOutput()) correctly permit the opposite direction to continue functioning with actual data payload transfer. Modifications: Add testShutdownInputAllowsOutboundWrites and testShutdownOutputAllowsInboundReads to SocketHalfClosedTest using DuplexChannel. Also remove unused imports and fix a checkstyle violation in NioSocketChannelTest. Result: Improve test coverage for transport-agnostic half-closure behavior, ensuring outbound writes succeed after shutdownInput() and inbound reads succeed after shutdownOutput(). --------- Co-authored-by: Rajan Chauhan <[email protected]> Co-authored-by: Norman Maurer <[email protected]>
Motivation: SocketHalfClosedTest lacked test coverage verifying that active, unilateral local half-closure calls (shutdownInput() and shutdownOutput()) correctly permit the opposite direction to continue functioning with actual data payload transfer. Modifications: Add testShutdownInputAllowsOutboundWrites and testShutdownOutputAllowsInboundReads to SocketHalfClosedTest using DuplexChannel. Also remove unused imports and fix a checkstyle violation in NioSocketChannelTest. Result: Improve test coverage for transport-agnostic half-closure behavior, ensuring outbound writes succeed after shutdownInput() and inbound reads succeed after shutdownOutput(). --------- Co-authored-by: Rajan Chauhan <[email protected]>
…etty#17434) Motivation: SocketHalfClosedTest lacked test coverage verifying that active, unilateral local half-closure calls (shutdownInput() and shutdownOutput()) correctly permit the opposite direction to continue functioning with actual data payload transfer. Modifications: Add testShutdownInputAllowsOutboundWrites and testShutdownOutputAllowsInboundReads to SocketHalfClosedTest using DuplexChannel. Also remove unused imports and fix a checkstyle violation in NioSocketChannelTest. Result: Improve test coverage for transport-agnostic half-closure behavior, ensuring outbound writes succeed after shutdownInput() and inbound reads succeed after shutdownOutput(). --------- Co-authored-by: Rajan Chauhan <[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.