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

transient unit test failure in ProducerFailureHandlingTest

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment