[
https://issues.apache.org/jira/browse/KAFKA-2361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012730#comment-15012730
]
ASF GitHub Bot commented on KAFKA-2361:
---------------------------------------
GitHub user ZoneMayor opened a pull request:
https://github.com/apache/kafka/pull/558
KAFKA-2361: unit test failure in ProducerFailureHandlingTest.testNotE…
the same issue stated at https://issues.apache.org/jira/browse/KAFKA-1999,
but on branch 0.8.2, still not fixed @junrao
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ZoneMayor/kafka 0.8.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/558.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #558
----
commit da1d0d88cd4fd8819b2bbc1068a4473062a041e9
Author: jinxing <[email protected]>
Date: 2015-11-19T03:42:05Z
KAFKA-2361: unit test failure in
ProducerFailureHandlingTest.testNotEnoughReplicasAfterBrokerShutdown
----
> Unit Test BUILD FAILED
> ----------------------
>
> Key: KAFKA-2361
> URL: https://issues.apache.org/jira/browse/KAFKA-2361
> Project: Kafka
> Issue Type: Bug
> Components: unit tests
> Affects Versions: 0.8.2.1
> Environment: Linux
> Reporter: Bo Wang
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 290 tests completed, 2 failed :
> kafka.api.ProducerFailureHandlingTest >
> testNotEnoughReplicasAfterBrokerShutdown FAILED
> org.scalatest.junit.JUnitTestFailedError: Expected
> NotEnoughReplicasException when producing to topic with fewer brokers than
> min.insync.replicas
> 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.api.ProducerFailureHandlingTest.testNotEnoughReplicasAfterBrokerShutdown(ProducerFailureHandlingTest.scala:355)
> kafka.server.ServerShutdownTest > testCleanShutdownAfterFailedStartup FAILED
> org.scalatest.junit.JUnitTestFailedError: Expected KafkaServer setup to
> fail with connection exception but caught a different exception.
> 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.server.ServerShutdownTest.testCleanShutdownAfterFailedStartup(ServerShutdownTest.scala:136)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)