ankushT369 opened a new pull request, #3202:
URL: https://github.com/apache/iggy/pull/3202

   Add tests to ensure handle_response returns errors for non-zero status codes 
and when declared length exceeds available data. Also verify successful 
responses for valid status and bounded lengths.
   
   
   ## Rationale
   
   Tests for `handle_response` did not cover important edge cases around status 
codes and response length, leaving potential failure scenarios unverified.
   
   
   ## What changed?
   
   `handle_response` behavior was not validated for error conditions such as 
non-zero status codes or when the declared response length exceeds available 
data.
   
   Added unit tests covering both success and failure paths, including boundary 
conditions for status and length handling.
   
   
   
   ## AI Usage
   
   None
   
   
   


-- 
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]

Reply via email to