XMLWordPrintableJSON

Details

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

    Description

      I saw this test consistently failing on trunk.
      The recent changes are KAFKA-2099, KAFKA-1926, KAFKA-1809.
      kafka.producer.AsyncProducerTest > testNoBroker FAILED
      org.scalatest.junit.JUnitTestFailedError: Should fail with FailedToSendMessageException
      at org.scalatest.junit.AssertionsForJUnit$class.newAssertionFailedException(AssertionsForJUnit.scala:101)
      at org.scalatest.junit.JUnit3Suite.newAssertionFailedException(JUnit3Suite.scala:149)
      at org.scalatest.Assertions$class.fail(Assertions.scala:711)
      at org.scalatest.junit.JUnit3Suite.fail(JUnit3Suite.scala:149)
      at kafka.producer.AsyncProducerTest.testNoBroker(AsyncProducerTest.scala:300)

      kafka.producer.AsyncProducerTest > testIncompatibleEncoder PASSED

      kafka.producer.AsyncProducerTest > testRandomPartitioner PASSED

      kafka.producer.AsyncProducerTest > testFailedSendRetryLogic FAILED
      kafka.common.FailedToSendMessageException: Failed to send messages after 3 tries.
      at kafka.producer.async.DefaultEventHandler.handle(DefaultEventHandler.scala:91)
      at kafka.producer.AsyncProducerTest.testFailedSendRetryLogic(AsyncProducerTest.scala:415)

      Attachments

        1. KAFKA-2103.patch
          0.9 kB
          Ewen Cheslack-Postava

        Activity

          People

            ewencp Ewen Cheslack-Postava
            becket_qin Jiangjie Qin
            Jun Rao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: