hachikuji commented on a change in pull request #9608:
URL: https://github.com/apache/kafka/pull/9608#discussion_r525646356



##########
File path: core/src/test/scala/unit/kafka/log/LogCleanerTest.scala
##########
@@ -815,9 +815,10 @@ class LogCleanerTest {
                (0 until leo.toInt by 2).forall(!keys.contains(_)))
   }
 
+  @Test
   def testLogCleanerStats(): Unit = {
-    // because loadFactor is 0.75, this means we can fit 2 messages in the map
-    val cleaner = makeCleaner(2)
+    // because loadFactor is 0.75, this means we can fit 3 messages in the map

Review comment:
       Sorry, but we have several identical comments in other test cases. Are 
those comments also wrong?




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