nikita15p opened a new pull request, #411:
URL: https://github.com/apache/flume/pull/411

   Current state: Since the buffer size is limited by the size  
   ```
   byte[] buffer = new byte[64 * 1024];
   ```
   This was causing while loop to execute limited by buffer size. This was 
causing test failure since "checkpointDir.getUsableSpace() > 
minimumRequiredSpace" was still satisfied even after the byte size is 
exhausted. 
   
   The change in PR introduces dynamic size of buffer, so that always we get 
checkpointDir.getUsableSpace() <= minimumRequiredSpace post while loop and 
hence test always passes.


-- 
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: dev-unsubscr...@flume.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to