showuon commented on code in PR #12296: URL: https://github.com/apache/kafka/pull/12296#discussion_r915850442
########## core/src/test/scala/unit/kafka/log/LogCleanerTest.scala: ########## @@ -1856,7 +1856,7 @@ class LogCleanerTest { @Test def testReconfigureLogCleanerIoMaxBytesPerSecond(): Unit = { val oldKafkaProps = TestUtils.createBrokerConfig(1, "localhost:2181") - oldKafkaProps.put(KafkaConfig.LogCleanerIoMaxBytesPerSecondProp, 10000000) + oldKafkaProps.put(KafkaConfig.LogCleanerIoMaxBytesPerSecondProp, 10000000: java.lang.Double) Review Comment: nit: I think we can just put `10000000L` here. ########## core/src/test/scala/unit/kafka/log/LogCleanerTest.scala: ########## @@ -1856,7 +1856,7 @@ class LogCleanerTest { @Test def testReconfigureLogCleanerIoMaxBytesPerSecond(): Unit = { val oldKafkaProps = TestUtils.createBrokerConfig(1, "localhost:2181") - oldKafkaProps.put(KafkaConfig.LogCleanerIoMaxBytesPerSecondProp, 10000000) + oldKafkaProps.put(KafkaConfig.LogCleanerIoMaxBytesPerSecondProp, 10000000: java.lang.Double) Review Comment: nit: I think we can just put `10000000L` here for long value. -- 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