slfan1989 opened a new pull request, #1656: URL: https://github.com/apache/ratis/pull/1656
## What changes were proposed in this pull request? Address four reliability warnings reported by [SonarCloud](https://github.com/apache/ratis/runs/119373650680): - Explicitly reject null message content in `MessageStreamImpl.streamAsync` before creating a stream. - Check arithmetic query replies for failure or missing content and report a descriptive `IOException`. - Preserve `Message.equals(Object)` coverage through a parameterized test, avoiding a direct assertion between dissimilar types. - Refactor metadata persistence exception tests so each `assertThrows` lambda invokes only one operation under test. Add regression tests for null stream content and arithmetic reply handling. ## What is the link to the Apache JIRA RATIS-2769. Improve null handling and tests flagged by SonarCloud ## How was this patch tested? unit tests & CI -- 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]
