Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1389

transient unit test failure in ProducerFailureHandlingTest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2.0
    • 0.8.2.0
    • core
    • None

    Description

      Saw the following transient unit test failure.

      kafka.api.ProducerFailureHandlingTest > testTooLargeRecordWithAckZero FAILED
      junit.framework.AssertionFailedError: Partition [topic-1,0] metadata not propagated after timeout
      at junit.framework.Assert.fail(Assert.java:47)
      at junit.framework.Assert.assertTrue(Assert.java:20)
      at kafka.utils.TestUtils$.waitUntilMetadataIsPropagated(TestUtils.scala:532)
      at kafka.utils.TestUtils$$anonfun$createTopic$1.apply(TestUtils.scala:151)
      at kafka.utils.TestUtils$$anonfun$createTopic$1.apply(TestUtils.scala:150)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      at scala.collection.immutable.Range.foreach(Range.scala:141)
      at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      at scala.collection.AbstractTraversable.map(Traversable.scala:105)
      at kafka.utils.TestUtils$.createTopic(TestUtils.scala:150)
      at kafka.api.ProducerFailureHandlingTest.testTooLargeRecordWithAckZero(ProducerFailureHandlingTest.scala:115)

      Attachments

        1. KAFKA-1389.patch
          0.8 kB
          Jun Rao
        2. KAFKA-1389_2014-04-23_10:41:08.patch
          27 kB
          Jun Rao
        3. KAFKA-1389_2014-04-23_14:36:00.patch
          45 kB
          Jun Rao

        Issue Links

          Activity

            People

              junrao Jun Rao
              junrao Jun Rao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: