Closed wangchengming666 closed 3 months ago
The recent update enhances compatibility by aligning provider weights in the SOFA-RPC framework with Nacos instance weights. It also includes new tests to validate weight calculations for Nacos instances under various weight scenarios.
Files | Change Summary |
---|---|
.../nacos/NacosRegistryHelper.java |
Adjusted provider weights based on Nacos instance weights for compatibility. |
.../nacos/NacosRegistryHelperTest.java |
Added tests for weight calculation with positive, negative, and zero weights. |
🐰✨
In the land of code where the Nacos play,
We've tweaked the weights in a clever way.
With tests to check, both night and day,
Ensuring weights are right, come what may.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 72.05%. Comparing base (
e67ea54
) to head (b0dce31
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Enhanced for Nacos weight configuration
Summary by CodeRabbit