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)