CAICAIIs opened a new pull request, #3133: URL: https://github.com/apache/dubbo-go/pull/3133
### Description Improve test coverage for protocol/triple package from 9.3% to 38.1%. Add comprehensive unit tests for the triple protocol implementation: triple_invoker.go: - parseInvocation with various callType scenarios - parseAttachments for URL and context attachments - TripleInvoker lifecycle (SetGet, IsAvailable, IsDestroyed, Destroy) - Invoke error handling and concurrent safety - mergeAttachmentToOutgoing edge cases server.go: - NewServer with different configurations - GetServiceInfo thread safety and copy semantics - saveServiceInfo for all stream types - getHanOpts with various URL and config combinations - createServiceInfoWithReflection for generic services client.go: - clientManager creation and lifecycle - genKeepAliveOptions with URL and TripleConfig - Serialization type handling (protobuf, json, hessian2, msgpack) - TLS configuration validation - HTTP/2 and HTTP/3 protocol selection triple.go: - Protocol singleton pattern - Extension registration - Destroy with empty serverMap" ### Checklist - [x] I confirm the target branch is `develop` - [x] Code has passed local testing - [x] I have added tests that prove my fix is effective or that my feature works -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
