diff --git a/core/src/test/scala/unit/kafka/log/LogSegmentTest.scala b/core/src/test/scala/unit/kafka/log/LogSegmentTest.scala index 435f4b642d585..3d2e2d7220ab6 100644 --- a/core/src/test/scala/unit/kafka/log/LogSegmentTest.scala +++ b/core/src/test/scala/unit/kafka/log/LogSegmentTest.scala @@ -43,7 +43,7 @@ class LogSegmentTest { def createSegment(offset: Long, indexIntervalBytes: Int = 10, time: Time = Time.SYSTEM): LogSegment = { - val seg = LogUtils.createSegment(offset, logDir, indexIntervalBytes, time) + val seg = LogTestUtils.createSegment(offset, logDir, indexIntervalBytes, time) segments += seg seg } diff --git a/core/src/test/scala/unit/kafka/log/LogSegmentsTest.scala b/core/src/test/scala/unit/kafka/log/LogSegmentsTest.scala index 17888aee67003..b6e686b02709d 100644 --- a/core/src/test/scala/unit/kafka/log/LogSegmentsTest.scala +++ b/core/src/test/scala/unit/kafka/log/LogSegmentsTest.scala @@ -32,7 +32,7 @@ class LogSegmentsTest { private def createSegment(offset: Long, indexIntervalBytes: Int = 10, time: Time = Time.SYSTEM): LogSegment = { - LogUtils.createSegment(offset, logDir, indexIntervalBytes, time) + LogTestUtils.createSegment(offset, logDir, indexIntervalBytes, time) } private def assertEntry(segment: LogSegment, tested: java.util.Map.Entry[java.lang.Long, LogSegment]): Unit = { diff --git a/core/src/test/scala/unit/kafka/log/LogUtils.scala b/core/src/test/scala/unit/kafka/log/LogTestUtils.scala similarity index 98% rename from core/src/test/scala/unit/kafka/log/LogUtils.scala rename to core/src/test/scala/unit/kafka/log/LogTestUtils.scala index 8bf9812b86acd..b52d8d84c5b25 100644 --- a/core/src/test/scala/unit/kafka/log/LogUtils.scala +++ b/core/src/test/scala/unit/kafka/log/LogTestUtils.scala @@ -22,7 +22,7 @@ import java.io.File import org.apache.kafka.common.record.FileRecords import org.apache.kafka.common.utils.Time -object LogUtils { +object LogTestUtils { /** * Create a segment with the given base offset */