test: add unit tests for core modules and integration tests for graceful shutdown#27
Closed
Itsusinn wants to merge 1 commit into
Closed
test: add unit tests for core modules and integration tests for graceful shutdown#27Itsusinn wants to merge 1 commit into
Itsusinn wants to merge 1 commit into
Conversation
…ful shutdown Add comprehensive test coverage across wind-core (utils, resolve, dispatcher), wind-socks (lib, udp), wind-dns (resolver), wind-base (resolve, direct), and a new wind-test shutdown module. wind-core: - utils: StackPrefer from_str/serde + is_private_ip boundary cases - resolve: pick/filter_addrs_by_preference all 4 preference modes - dispatcher: AclRouter SRC-PORT, IN-PORT, DOMAIN-KEYWORD/REGEX/WILDCARD wind-socks: - lib: convert_addr and convert_to_socks_addr round-trip - udp: parse_udp_request_sync with error cases, addr helpers wind-dns: - resolver: parse_server scheme/port/IPv6-bracket edge cases - split_host_port helper wind-base: - resolve: resolve_target bypasses-resolver on IP inputs - direct: DirectOutboundOpts construction wind-test (new shutdown module): - SOCKS5/TUIC/raw-TCP graceful shutdown on cancellation token Signed-off-by: iHsin <sun@ihsin.dev> Assisted-by: OpenClaw:deepseek-v4-flash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add comprehensive test coverage across wind-core (utils, resolve,
dispatcher), wind-socks (lib, udp), wind-dns (resolver), wind-base
(resolve, direct), and a new wind-test shutdown module.
wind-core
wind-socks
wind-dns
wind-base
wind-test (new shutdown.rs module)
Graceful shutdown integration tests:
Signed-off-by: iHsin sun@ihsin.dev
Assisted-by: OpenClaw:deepseek-v4-flash