kowshik opened a new pull request #10732:
URL: https://github.com/apache/kafka/pull/10732


   In this PR, I have eliminated the following 6 redundant static functions in 
test code:
   ```
   LogTest.createLogConfig()
   LogTest.createLog()
   LogTest.hasOffsetOverflow()
   LogTest.firstOverflowSegment()
   LogTest.rawSegment()
   LogTest.initializeLogDirWithOverflowedSegment()
   ```
   
   The above ones are already defined in `LogTestUtils.scala`, so we can just 
reuse those instead.
   
   **Tests:**
   Relying on existing tests.
   


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

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


Reply via email to