lizining1231 opened a new pull request, #3836:
URL: https://github.com/apache/dubbo-go/pull/3836
### Description
Part of #3810. Add integration coverage for legacy-version compatibility and
Java interoperability following the introduction of configurable codec
extensions.
The tests run real Triple RPCs between separately built clients and servers
and verify the returned response values.
### Changes
1. Add bidirectional compatibility tests with dubbo-go v3.3.2.
- Run a client pinned to v3.3.2 against a server built from the current
checkout.
- Run a client built from the current checkout against a server pinned to
v3.3.2.
- Assert the expected greeting in both directions to verify request
decoding and response decoding across versions.
2. Add Java/Go interoperability checks using the Apache dubbo-go-samples
non-Protobuf Triple example.
- Pin the sample repository to commit
`6e791058f58fd28434f859eb132eb93dd26d5418`, whose Java example uses Dubbo
`3.3.0-beta.3`.
- Replace the sample's Go dependency with the current checkout.
- Run Go → Go, Go → Java, Java → Go, and Java → Java calls.
- Check the expected response from each pairing in addition to the
integration script's exit status.
3. Provide a repeatable integration test entry point.
- Keep the v3.3.2 fixtures in a separate Go module so they can use a
different dubbo-go version.
- Build the sample applications in a temporary directory and clean up
temporary files and server processes on exit.
- Document prerequisites and how to run the tests, including reuse of a
local sample checkout at the pinned commit.
### Checklist
- [x] I confirm the target branch is `develop`
- [x] I have run `make fmt` to format my code
- [x] I have run `make test` to run local tests
- [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]