Snow-kal opened a new pull request, #3283:
URL: https://github.com/apache/dubbo-go/pull/3283

   # New Config API 集成测试的补全
   
   ## 测试到文件映射表
   
   | 测试文件 | 目标 | 主要覆盖 | 直接涉及的 New Config API 文件 |
   | --- | --- | --- | --- |
   | `inst_integration_test.go` | 验证主链路可用:`NewInstance -> NewServer/NewClient 
-> 实际调用成功` | 实例初始化、服务注册与导出、客户端引用 | 
`dubbo.go`、`options.go`、`server/server.go`、`server/options.go`、`server/action.go`、`client/client.go`、`client/options.go`、`client/action.go`、`protocol/options.go`、`protocol/triple/triple.go`、`protocol/triple/server.go`、`protocol/triple/client.go`、`protocol/triple/triple_invoker.go`
 |
   | `prio_integration_test.go` | 验证优先级:`Instance` 默认值可被 `Client/Server` 
覆盖且不互相污染 | `NewServer/NewClient` 配置注入与覆盖顺序、server/service 生效值、client/reference 
生效值 | 
`dubbo.go`、`options.go`、`server/options.go`、`server/server.go`、`client/options.go`、`client/client.go`、`client/action.go`
 |
   | `compat_integration_test.go` | 验证 compat 一致性:`compatRootConfig <-> 
compatInstanceOptions` 关键字段 round-trip 不丢失 | 新旧配置模型的转换、nil/空集合边界 | 
`compat.go`、`options.go`、`global/application_config.go`、`global/protocol_config.go`、`global/client_protocol_config.go`、`global/triple_config.go`、`global/http3_config.go`、`global/registry_config.go`、`global/provider_config.go`、`global/service_config.go`、`global/consumer_config.go`、`global/reference_config.go`、`global/method_config.go`、`global/metric_config.go`、`global/otel_config.go`、`global/shutdown_config.go`、`global/custom_config.go`、`global/profiles_config.go`
 |
   
   
   
   为什么放根目录 :测试是 package dubbo 顶层 API,且 compat 
需要访问未导出函数(compatRootConfig/compatInstanceOptions)
   
   未覆盖范围不包含: Nacos/ZK/Apollo 外部联调,不修改 CI 流程,不改 samples 
   
   
   ### Description
   issue https://github.com/apache/dubbo-go/issues/3255
   
   ### 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]

Reply via email to