XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: None
    • Component/s: 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

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

              Dates

              • Created:
                Updated:
                Resolved: