gaurav-narula opened a new pull request, #14625:
URL: https://github.com/apache/kafka/pull/14625

   PR #13135 introduced tests in DefaultRecordBatchTest which require filling 
buffers with random data. Using
   `SecureRandom.getInstanceStrong()` results in using `/dev/random` which is 
known to block in Linux when the OS runs low on entropy. This was noticable 
when running tests in containerised CI environments.
   
   This PR avoids using a CSPRNG altogether since the tests do not need 
cryptographically secure random numbers.
   


-- 
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: jira-unsubscr...@kafka.apache.org

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

Reply via email to