Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2054 Fix Kafka transient unit test failures
  3. KAFKA-2455

Test Failure: kafka.consumer.MetricsTest > testMetricsLeak

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.0
    • 0.9.0.1
    • None

    Description

      I've seen this failure in builds twice recently:

      kafka.consumer.MetricsTest > testMetricsLeak FAILED
      java.lang.AssertionError: expected:<174> but was:<176>
      at org.junit.Assert.fail(Assert.java:92)
      at org.junit.Assert.failNotEquals(Assert.java:689)
      at org.junit.Assert.assertEquals(Assert.java:127)
      at org.junit.Assert.assertEquals(Assert.java:514)
      at org.junit.Assert.assertEquals(Assert.java:498)
      at kafka.consumer.MetricsTest$$anonfun$testMetricsLeak$1.apply$mcVI$sp(MetricsTest.scala:65)
      at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
      at kafka.consumer.MetricsTest.testMetricsLeak(MetricsTest.scala:63)

      Attachments

        Activity

          People

            jinxing6042@126.com Jin Xing
            gwenshap Gwen Shapira
            Ismael Juma Ismael Juma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: