Gargi-jais11 commented on PR #9316:
URL: https://github.com/apache/ozone/pull/9316#issuecomment-3544992156

   Thanks @rich7420 for working on this. Left some comments above.
   
   Your current test only checks if space is missing or there is an empty file 
name. Can you please also test the below scenario where **the size isn't a 
number**.
   **Input:** "oops filename.txt"
   **Code Behaviour:** parts.length is 2 (Pass), but 
**Long.parseLong(parts[0])** will crash with NumberFormatException.
   
   This ensure that if the size is bad, the application handles it correctly.


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